Compiling natural semantics /

Pettersson, Mikael.

Compiling natural semantics / Mikael Pettersson. - Berlin ; New York : Springer, 1999. - 1 online resource (xvi, 240 pages) - Lecture notes in computer science ; 1549 . - Lecture notes in computer science ; 1549. .

Includes bibliographical references and index.

1 Introduction -- 2 Preliminaries -- 3 The Design of RML -- 4 Examples -- 5 Implementation Overview -- 6 Reducing Nondeterminism -- 7 Compiling Pattern Matching -- 8 Compiling Continuations -- 9 Simulating Tailcalls in C -- 10 Performance Evaluation -- 11. Concluding Remarks -- A. The Definition of RML.

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.


English.

9783540488231 3540488235 9788354048824 8354048829

10.1007/b71652 doi


Programming languages (Electronic computers)--Semantics.
Langages de programmation--Sémantique.
Programming languages (Electronic computers)--Semantics
Semantiek.
Compiladores, processadores, interpretadores (computadores)
Langages de programmation--Semantique.
Compilation (informatique)


Congressen (vorm)

QA76.7 / .P493 1999

005.13/1

28. 28

Powered by Koha