Compiling Natural Semantics

Compiling Natural Semantics

4.11 - 1251 ratings - Source

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.l2 # ev1 bind(s, lg, ev1) = 8a#39; 101 unify (ev1, 12, s) = sa#39; (101) lit 1 = lit unify (lit.1, lito , s) = 8 lit lit + (103) unify (lit.1, lit.2, s) = (FAIL, s) con1 = con2 unifyaquot; (evi, ev3, s) = s/(FAIL, sa#39;) (104) unifya#39;((con1, evi), (con2, ev3), s) = s/(FAIL, sa#39;) p / con 1 % con2anbsp;...

Title:Compiling Natural Semantics
Author: Mikael Pettersson
Publisher:Springer - 2005-11-20

You must register with us as either a Registered User before you can Download this Book. You'll be greeted by a simple sign-up page.

Once you have finished the sign-up process, you will be redirected to your download Book page.

How it works:
  • 1. Register a free 1 month Trial Account.
  • 2. Download as many books as you like (Personal use)
  • 3. Cancel the membership at any time if not satisfied.

Click button below to register and download Ebook
Privacy Policy | Contact | DMCA