Macro-by-example: Deriving syntactic transformations from their specifications
Macro-by-example: Deriving syntactic transformations from their specifications
复制标题
宏观举例:从规范中导出句法转换
DOI:
10.1145/41625.41632
复制
发表时间:
1987
影响因子:
1.1
通讯作者:
M. Wand
中科院分区:
文献类型:
--
作者:
E. Kohlbecker;M. Wand
This paper presents two new developments. First, it describes a “macro-by-example” specification language for syntactic abstractions in Lisp and related languages. This specification language allows a more declarative specification of macros than conventional macro facilities do by giving a better treatment of iteration and mapping constructs. Second, it gives a formal semantics for the language and a derivation of a compiler from the semantics. This derivation is a practical application of semantics-directed compiler development methodology.