文摘
We present implicit context propagation as a technique to compose interpreter modules having different context information requirements. Object Algebras provide the necessary extensibility to lift interpreters in order to implicitly propagate context information. Implicit context propagation works in mainstream object-oriented languages, does not sacrifice type safety or separate compilation, and can be easily automated. We illustrate the technique using two case studies and analyze the impact on interpreter performance.