|Announcing MetaCC framework firstname.lastname@example.org (Leszek Piotrowicz) (2006-10-26)|
|From:||Leszek Piotrowicz <email@example.com>|
|Date:||26 Oct 2006 00:32:19 -0400|
|Organization:||tp.internet - http://www.tpi.pl/|
|Posted-Date:||26 Oct 2006 00:32:19 EDT|
Announcing MetaCC framework
MetaCC is a framework for compiler construction implemented in Java.
It is available for download from http://metacc.sourceforge.net
The ultimate goal of MetaCC framework is to make a programming language
(whatever one is processed by the framework) extendable.
Extendable means that the language itself or a programming environment
can influence language tokenizing, parsing, semantic analysis and other
phases of its processing. The influence can manifest in example in
adding or modifying language constructions on the fly, during compile
To reach this goal rules for tokenizing, parsing, code generation cannot
be static or precompiled by some other tool, but instead they must be
dynamic and embeeddable into the language. Rich metainformation (that is
information about compiler environment) must be available and
configurable by the programming environment.
The framework is in initial stage now (version 0.1). Lexer and parser
generators are available. Lexer is based on DFA algorithm (via
intermediate NFA) and parser uses LALR1 algorithm. Both of them
construct their tables dynamically on the fly.
As an example java5 lexer and parser definitions are provided.
Together they correctly parse all java5 library sources.
Return to the
Search the comp.compilers archives again.