Affiliation:
1. IBM Corp., Yorktown Heights, NY
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.
Publisher
Association for Computing Machinery (ACM)
Cited by
56 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Rhombus: A New Spin on Macros without All the Parentheses;Proceedings of the ACM on Programming Languages;2023-10-16
2. Hygienic macro technology;Proceedings of the ACM on Programming Languages;2020-06-12
3. Attribute grammar macros;Science of Computer Programming;2014-12
4. Hygienic Macro System for JavaScript and Its Light-weight Implementation Framework;Proceedings of ILC 2014 on 8th International Lisp Conference;2014-08-14
5. First Class Syntax, Semantics, and Their Composition;Proceedings of the 25th symposium on Implementation and Application of Functional Languages - IFL '13;2014