Reflection for the Masses

  • Authors:
  • Charlotte Herzeel;Pascal Costanza;Theo D'Hondt

  • Affiliations:
  • Programming Technology Lab, Vrije Universiteit Brussel, Brussel, Belgium B-1050;Programming Technology Lab, Vrije Universiteit Brussel, Brussel, Belgium B-1050;Programming Technology Lab, Vrije Universiteit Brussel, Brussel, Belgium B-1050

  • Venue:
  • Self-Sustaining Systems
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

A reflective programming language provides means to render explicit what is typically abstracted away in its language constructs in an on-demand style. In the early 1980's, Brian Smith introduced a general recipe for building reflective programming languages with the notion of procedural reflection . It is an excellent framework for understanding and comparing various metaprogramming and reflective approaches, including macro programming, first-class environments, first-class continuations, metaobject protocols, aspect-oriented programming, and so on. Unfortunately, the existing literature of Brian Smith's original account of procedural reflection is hard to understand: It is based on terminology derived from philosophy rather than computer science, and takes concepts for granted that are hard to reconstruct without intimate knowledge of historical Lisp dialects from the 1960's and 1970's. We attempt to untangle Smith's original account of procedural reflection and make it accessible to a new and wider audience. On the other hand, we then use its terminological framework to analyze other metaprogramming and reflective approaches, especially those that came afterwards.