APG
… an ABNF Parser Generator
|
The OASIS Open Data Protocol (OData) Technical Committee has the stated purpose "...to define an open data protocol for sharing data and exposing data models interoperably on the Web." As part of that project, an OData ABNF grammar and a large set of test cases has been developed. Along with that is a test tool built from apg-java.
This example builds a C-language equivalent of the parser and test tool for the core grammar and test cases.
The compiled example will execute the following cases. Run the application with no arguments for application usage.