Jast Add
Stc
Date: 2008-03-20
Time: 11:00
Room: BBL room 471
Speaker: Nabil el Boustani
Abstract
Writing production quality compilers for modern programming languages is
very
challenging task, because a compiler builder has to deal with many
aspects, such
as name and type analysis, code optimization and code generation, which
can not
always be developed in isolation from each other. In this talk I will
present a
compiler construction framework named
JastAdd that allows to build
compilers in
a generative and highly modular and extendible way. The three main
techniques
used in
JastAdd that allow separation of concerns are: 1) inheritance for
modularization and software reuse, 2) attribute grammars and aspects for
capturing cross-cutting concerns, and 3) rewrites to perform computation
and the
best suitable models.
JastAdd has been tested and evaluated in practice by
building a complete Java 1.4 compiler and several program analysis tools
for the
Java language.
If you have been introduced to UUAG (Utrecht University Attribute Grammar)
compiler and would like to have something similar for Java, then
JastAdd
might be
the right tool for you.