headerphoto

64-bit APG

A Version of APG which will compile and run on a 64-bit OS is now available. For more information please contact us here.

Recent News

10/23/11: It is a pleasure to announce the release of Java APG Version 1.0. more…

10/16/11: I've reformatted the documentation and download for Version 4.0 to the current web site format and restored their availablity here. more…

07/16/11: I noticed that the interactive examples were not working with the latest versions of Firefox and Chrome. I've fixed the problem more…

06/07/11: Thanks to ST for pointing out a bug in the MEGACO grammar. As written the message more…

Interactive APG - Note on APG Grammars

APG – an ABNF Parser Generator – as the name implies, generates parsers for RFC 4234-compliant grammars. Since version 4.0, however, APG grammars have been enhanced to include a syntactic predicate operator. The APG grammar is therefore actually a superset of ABNF and the term SABNF is sometimes used here to differentiate. The exact grammar definition can be found in the appendix.

Syntactic predicates were first described by Parr and Quong and later extended by Ford in the definition of Parsing Expression Grammars (PEG). APG uses the PEG definition.