Java APG Version 1.0

This version of APG is written entirely in the Java language. The generator as well as the generated parsers are all Java. This allows for project development in a completely Java environment.

Additionally, thanks to Ralf Handl and the OASIS OData project, Java APG has three extended features.

  • The incremental alternative (/=) is implemented.
  • It accepts multiple input grammar files.
  • It has an additional, case-sensitive literal string using single quotes.

The first two extensions make it possible extend an existing grammar by appending additional rules. Implementing the incremental alternative allows for extending the definition of a rule in the first file with additional alternatives in a second file.

The single-quoted string greatly simplifies the frequent case of needing long, case-sensitve names and strings.