The idea of ASTroid is to build a C++ framework to handle easily different type of source code.
My main target languages are C, Java and PHP (even though I don't know which version for now... I need to work on the grammars), but a subset of C and PHP are more realistic for now (it's really hard to claim parsing correctly these languages into AST). The parsing engine is based on Gold Parsing System (http://www.devincook.com) using a compiled Deterministic Finite Automata.
A common model will be constructed from the different AST (Abstract Syntax Tree). This AST is already exportable in a simple XML format.
The underlying idea is to build: basic source code security analyzer (hopefully plugin based) simple source code transformation and generation implement source code metrics (McCabe's cyclomatic complexity, Variable dispersion, Number of Source-To-Sink path, etc.)
ASTroid is the new version of PHP-AST/Oracle (http://trac2.assembla.com/php-ast) which aimed to handle multiple languages.
These details are provided for information only. No information here is legal advice and should not be used as such.