Macro processing in object-oriented languages
Shigeru Chiba · Technology of Object-Oriented Languages and Systems · 2002
There are a number of programmable macro systems such as Lisp's. While they can handle complex program transformation, they still have difficulty in handling some kinds of transformation typical in object oriented programming. The paper examines this problem and, to address it, presents an advanced macro system based on ideas borrowed from reflection. Unlike other macro systems, our macro system provides metaobjects as the data structure used for the macro processing, instead of an abstract syntax tree. This feature makes it easy to implement a range of transformations of object oriented programs.
Cited by 31 works. doi:10.1109/tools.1998.750029
Authors
References
- The art of the metaobject protocol
- The Art of the Metaobject Protocol
- Concepts and experiments in computational reflection
- Reflection and semantics in LISP
- A metaobject protocol for C++
- Reflection in an object-oriented concurrent language
- Hybrid group reflective architecture for object-oriented concurrent reflective programming
- Designing an Extensible Distributed Language with a Meta-Level Architecture
- Metaclasses are first class: The ObjVlisp Model
- Programmable syntax macros