Syntax macros and extended translation
- 1 November 1966
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 9 (11) , 790-793
- https://doi.org/10.1145/365876.365879
Abstract
A translation approach is described which allows one to extend the syntax and semantics of a given high-level base language by the use of a new formalism called a syntax-macro. Syntax-macros define string transformations based on syntactic elements of the base language. Two types of macros are discussed, and examples are given of their use. The conditional generation of macros based on options and alternatives recognized by the scan are also described.Keywords
This publication has 6 references indexed in Scilit:
- Evolution of the meta-assembly programCommunications of the ACM, 1966
- META II a syntax-oriented compiler writing languagePublished by Association for Computing Machinery (ACM) ,1964
- A generalization of ALGOLCommunications of the ACM, 1963
- Design of a separable transition-diagram compilerCommunications of the ACM, 1963
- Revised report on the algorithmic language ALGOL 60Communications of the ACM, 1963
- Macro instruction extensions of compiler languagesCommunications of the ACM, 1960