Compiling Natural Semantics

  • MikaelĀ Pettersson

Part of the Lecture Notes in Computer Science book series (LNCS, volume 1549)

Table of contents

  1. Front Matter
  2. Mikael Pettersson
    Pages 1-4
  3. Mikael Pettersson
    Pages 5-15
  4. Mikael Pettersson
    Pages 17-33
  5. Mikael Pettersson
    Pages 35-56
  6. Mikael Pettersson
    Pages 57-61
  7. Mikael Pettersson
    Pages 63-84
  8. Mikael Pettersson
    Pages 85-109
  9. Mikael Pettersson
    Pages 111-126
  10. Mikael Pettersson
    Pages 127-152
  11. Mikael Pettersson
    Pages 153-168
  12. Mikael Pettersson
    Pages 169-172
  13. Mikael Pettersson
    Pages 173-221
  14. Back Matter

About this book


Natural Semantics has become a popular tool among programming language researchers for specifying many aspects of programming languages. However, due to the lack of practical tools for implementation, the natural semantics formalism has so far largely been limited to theoretical applications.
This book introduces the rational meta-language RML as a practical language for natural semantics specifications. The main part of the work is devoted to the problem of compiling natural semantics, actually RML, into highly efficient code. For this purpose, an effective compilation strategy for RML is developed and implemented in the rml2c compiler. This compiler ultimately produces low-level C code. Benchmarking results show that rml2c-produced code is much faster than code resulting from compilers based on alternative implementation approaches.


C programming language Natural compiler programming programming language semantics

Authors and affiliations

  • MikaelĀ Pettersson
    • 1
  1. 1.Computing Science DepartmentUppsala UniversityUppsalaSweden

Bibliographic information

  • DOI
  • Copyright Information Springer-Verlag Berlin Heidelberg 1999
  • Publisher Name Springer, Berlin, Heidelberg
  • eBook Packages Springer Book Archive
  • Print ISBN 978-3-540-65968-6
  • Online ISBN 978-3-540-48823-1
  • Series Print ISSN 0302-9743
  • Series Online ISSN 1611-3349
  • Buy this book on publisher's site