Attribute grammars are a valuable tool for constructing compilers and building user interfaces. This paper reports on a system we are developing, called AML (for Attribution in ML), which is an attribute grammar toolkit for building such applications as language-based programming environments using SML. This system builds on the proven technology of efficient attribute evaluation, while using a higher-level foundation for the implementation of interactive systems. It supports a general and uniform platform for building applications that can manipulate attributed terms and allow access to attribute values. We describe the design of the AML system, its current implementation status, and our plans for the future.
Attribute grammars are a valuable tool for constructing compilers and building user interfaces. This paper reports on a system we are developing, called AML (for Attribution in ML), which is an attribute grammar toolkit for building such applications as language-based programming environments using SML. This system builds on the proven technology of efficient attribute evaluation, while using a higher-level foundation for the implementation of interactive systems. It supports a general and uniform platform for building applications that can manipulate attributed terms and allow access to attribute values. We describe the design of the AML system, its current implementation status, and our plans for the future.
G machine is a stack machine for von-Neumann-like execution of lazy functional languages using graph reduction. Paper describes target code generation from G-machine code in a compiler for lazy-ML. 2 methods: (a) generates naive code like macro expansion (b) better, avoids redundant operations Code generation expressed as an attribute grammar over G-machine code sequences. http://cs.chalmers.se/welcome.eng.html (CSci Chalmers) ('94)
a parser generator, written in LML, to accept attribute grammars.