Compiling Natural Semantics
Author | : Mikael Pettersson |
Publisher | : Springer Science & Business Media |
Total Pages | : 252 |
Release | : 1999-05-05 |
ISBN-10 | : 9783540659686 |
ISBN-13 | : 3540659684 |
Rating | : 4/5 (86 Downloads) |
Download or read book Compiling Natural Semantics written by Mikael Pettersson and published by Springer Science & Business Media. This book was released on 1999-05-05 with total page 252 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.