Higher-order Rewriting for Executable Compiler Specifications

Kristoffer H. Rose
(IBM T.J. Watson Research Center)

In this paper we outline how a simple compiler can be completely specified using higher order rewriting in all stages: parsing, analysis/optimization, and code emission, specifically using the crsx.sf.net system for a small declarative language called "X" inspired by XQuery (for which we are building a production quality compiler in the same way).

In Eduardo Bonelli: Proceedings 5th International Workshop on Higher-Order Rewriting (HOR 2010), Edinburgh, UK, July 14, 2010, Electronic Proceedings in Theoretical Computer Science 49, pp. 31–45.
Published: 17th February 2011.

ArXived at: https://dx.doi.org/10.4204/EPTCS.49.3 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org