Description

Java-front is a package you can use to generate or transform Java code. It contains a handcrafted SDF grammar for Java, Stratego signatures generated from this grammar and a handcrafted pretty printer. * Modular and extensible syntax definition for Java * Full support for the new language features introduced in Java 5.0 * Heavily tested pretty-printer, which inserts parentheses where necessary! * Option to preserve comments * Conversion of abstract syntax tree to XML possible Available Versions of Java Java-front supports Java 5.0. The syntax definition closely follows the structure of the Java Language Specifcation, Third Edition (JLS3). All new features (generics, wildcards, varargs, static import, enums, foreach loop, annotations) are supported. The Java grammar in Java-front is able to parse and pretty-print all the Java sources in the GNU Classpath and the Java 2 SDK version 1.5.0 of Sun Microsystems. The results of the pretty-printer are verified.

Preview

Tags

Users

  • @draganigajic

Comments and Reviews