ALIA4J’s [(Just-In-Time) Compile-Time] MOP for advanced dispatching

Christoph Bockisch, Andreas Sewe, Martin Zandberg

    Research output: Contribution to conferencePaperAcademic

    3 Citations (Scopus)

    Abstract

    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.
    Original languageUndefined
    Pages309-316
    DOIs
    Publication statusPublished - Jun 2011
    EventACM conference on Systems, Programming, Languages and Applications: Software for Humanity 2011 - Portland, OR, USA
    Duration: 22 Oct 201127 Oct 2011

    Conference

    ConferenceACM conference on Systems, Programming, Languages and Applications: Software for Humanity 2011
    Period22/10/1127/10/11
    OtherOctober 22-27, 2011

    Keywords

    • IR-85844

    Cite this