APG
ABNF Parser Generator

Generate fast, efficient parsers
directly from ABNF grammars

*** Python APG 1.0 is Now Available ***

*** New – python-ini ***

(a simple yet extremely flexible INI file parser)

Supports C, Java, JavaScript and Python

Pattern-Matching Engine

Replace cryptic regex syntax with ABNF
More pattern-matching power than regex

AST for accurate phrase translations
Parse tree tracing for easy debugging

Version 7.0 Now Available

Written entirely in C but with objects and exception handling
API lets you generate parsers in your code on the fly
Pattern-Matching engine with more features and power than regex:

– Full recursion for handling nested pairs
– Two modes of back referencing
– Hand-written pattern-matching code snippets
– Easily identified and referenced named phrases

XML standards-compliant parser
JSON standards-compliant parser and builder
Unicode data format conversion
A large tool chest full of utilities
A large set of examples demonstrating all aspects of use