TY - GEN
T1 - The Oberon-2 Reflection Model and its Applications
AU - Mössenböck, Hanspeter
AU - Steindl, Christoph Georg
PY - 1999/7
Y1 - 1999/7
N2 - We describe the reflection model of Oberon-2, a language in the tradition of Pascal and Modula-2. It provides run-time information about the structure of variables, types and procedures and allows the programmer to manipulate the values of variables. The special aspect of the Oberon-2 reflection model is that metainformation is not obtained via metaclasses. It is rather organized as structured sequences of elements stored on a disk,which can be enumerated by an iterator. This results in a simple and uniform access mechanism and keeps the memory overhead to a minimum. We also show a number of challenging applications that have been implemented with this reflection model.
AB - We describe the reflection model of Oberon-2, a language in the tradition of Pascal and Modula-2. It provides run-time information about the structure of variables, types and procedures and allows the programmer to manipulate the values of variables. The special aspect of the Oberon-2 reflection model is that metainformation is not obtained via metaclasses. It is rather organized as structured sequences of elements stored on a disk,which can be enumerated by an iterator. This results in a simple and uniform access mechanism and keeps the memory overhead to a minimum. We also show a number of challenging applications that have been implemented with this reflection model.
UR - http://www.ssw.uni-linz.ac.at/Research/Papers/
M3 - Conference proceedings
SN - 3-540-66280-4
VL - 1616
T3 - Lecture Notes in Computer Science (LNCS)
BT - Reflection'99, St. Malo, France
ER -