Wiki

Clone wiki

juast / Home

Java Unified Abstract Syntax Tree

  • Unify various java abstract syntax trees to universal one.
  • Integration to compilers so you can execute your processors on unified AST just after semantic analysis stage of compiler.
  • Supports
    • Standard javac compiler from JDK versions 6 and 7.
    • Eclipse Compiler for Java (ecj). Tested on v3.5.2, 3.6.1
    • Eclipse IDE. Tested on v3.5.2, 3.6.1, 3.7M5
    • Netbeans IDE 6.9, 7.0beta2

Download latest binary version

View demonstration

Tools/IDE configuration

Building:

Requirements:

$ hg clone https://bitbucket.org/amelentev/juast/
$ cd juast
juast $ mvn clean install

Look resulting juast.jar at package/target/juast*.jar

You can test it in demo dir:

juast $ cd demo
juast/demo $ ./runAll.sh

You can see demo/pom.xml to configurate maven build system to work with juast.

Publications

  • "Integration of semantic verification into Java compilers". 2010-2011

Updated