The ALIA4J approach provides a framework for implementing execution environments with support for advanced dispatching as found, e.g., in aspect-oriented or predicate-dispatching languages. It also defines an extensible meta-model acting as intermediate representation for dispatching declarations, e.g., pointcut-advice or predicate methods. From the intermediate representation of all dispatch declarations in the program the framework derives an execution model for which ALIA4J specifies a generic execution strategy. The meta-object protocol (MOP) formed by the meta-model and framework is defined such that new programming language concepts can be implemented modularly: The semantics can be implemented in an interpretative style (e.g., using reflection) or by describing how to generate corresponding Java bytecode or even machine code. In the latter two cases, the implementation can reason about the current code generation context; this enables sophisticated optimizations. We discuss these optimization facilities by means of two case studies.
|Publication status||Published - Jun 2011|
|Event||ACM conference on Systems, Programming, Languages and Applications: Software for Humanity 2011 - Portland, OR, USA|
Duration: 22 Oct 2011 → 27 Oct 2011
|Conference||ACM conference on Systems, Programming, Languages and Applications: Software for Humanity 2011|
|Period||22/10/11 → 27/10/11|
|Other||October 22-27, 2011|