Parsers

We provide parsers for different programming languages. Each parser is extremely simple and it stops as soon as it encounters an error. All parsers follow the same algorithm. As the rest of this project, they are all in the public domain or under the Unlicense license depending on your juridiction.

The parsers are available for the following languages:

Usage

The parsers were developed and tested on Linux. We suppose you can use the make command and you are using a POSIX shell (Bash, ZSH, Fish...).

All parser repositories contain the source code necessary to use the parser as a library in your projects, and the source code for generating the grm-definition-to-json and grm-to-json binaries used for the tests and for external tools.

All parser repositories follow the same file hierarchy.

All parser repositories have the following make commands.

On improvement and contribution

It is important to note that we give you the parsers as-is. They are gifts. We do not necessarily maintain them. We do not necessarily accept any external contributions. We do not necessarily improve them.