OpenAda: Compile-Time Reflection for Ada 95

作者: Patrick Rogers , Andy J. Wellings

DOI: 10.1007/978-3-540-24841-5_13

关键词: Software developmentReflection (computer programming)Programming languageComputer scienceSimple (abstract algebra)CompilerCompile time

摘要: This paper introduces OpenAda, a compile-time reflective facility supporting full Ada that is similar to OpenC++ and OpenJava. We explain the general concepts of reflection, including introspection, intercession, then describe how compiler dynamically extended perform user-defined translations. compiler’s support for introspection intercession provide complete (though relatively simple) demonstration use. example illustrates certain limitations inherent implementation we explain, along with work-arounds provided.

参考文章(11)
Gregor Kiczales, John Lamping, Erik Ruf, Luis Rodriguez, Luis H. Rodriguez, An Architecture for An Open Compiler ,(1998)
Jean-Paul Bahsoun, Takanobu Baba, Jean-Pierre Briot, Akinori Yonezawa, Object-oriented parallel and distributed programming Hermès Science Publications. ,(2000)
Reflection and software engineering Springer Berlin Heidelberg. ,(2000) , 10.1007/3-540-45046-7
Gregor Kiczales, Jim Des Rivieres, Daniel G Bobrow, The Art of the Metaobject Protocol ,(1991)
Michiaki Tatsubori, Shigeru Chiba, Marc-Olivier Killijian, Kozo Itano, OpenJava: A Class-Based Macro System for Java conference on object oriented programming systems languages and applications. pp. 117- 133 ,(1999) , 10.1007/3-540-45046-7_7
Jeff McAffer, Meta-level Programming with CodA european conference on object oriented programming. pp. 190- 214 ,(1995) , 10.1007/3-540-49538-X_10
Shigeru Chiba, A metaobject protocol for C conference on object oriented programming systems languages and applications. ,vol. 30, pp. 285- 299 ,(1995) , 10.1145/217838.217868
Brian Cantwell Smith, Reflection and semantics in LISP symposium on principles of programming languages. pp. 23- 35 ,(1984) , 10.1145/800017.800513
Pattie Maes, Concepts and experiments in computational reflection Conference proceedings on Object-oriented programming systems, languages and applications - OOPSLA '87. ,vol. 22, pp. 147- 155 ,(1987) , 10.1145/38765.38821
Pattie Maes, Concepts and experiments in computational reflection ACM SIGPLAN Notices. ,vol. 22, pp. 147- 155 ,(1987) , 10.1145/38807.38821