Meta-programming with Concrete Object Syntax
Meta-programming with Concrete Object Syntax
复制标题
使用具体对象语法进行元编程
DOI:
--
复制
发表时间:
2002
期刊:
影响因子:
--
通讯作者:
E. Visser
中科院分区:
文献类型:
--
作者:
E. Visser
Meta programs manipulate structured representations, i.e., abstract syntax trees, of programs. The conceptual distance between the concrete syntax meta-programmers use to reason about programs and the notation for abstract syntax manipulation provided by general purpose (meta-) programming languages is too great for many applications. In this paper it is shown how the syntax definition formalism SDF can be employed to fit any meta-programming language with concrete syntax notation for composing and analyzing object programs. As a case study, the addition of concrete syntax to the program transformation language Stratego is presented. The approach is then generalized to arbitrary meta-languages.