Zapp is a packrat parser generator, that is written in Zig and generates code written in zig.
The documentation is here:
- the grammar format is described here
- using actions in the grammar is explained here
- informations about using zapp here
- the interface of the generated parsers is explained here
There is currently no prepackaged binaries, so the project has to be built from source.
- zig >= 0.13.0-dev.344+b2588de6c
First the repository has to be cloned:
git clone https://github.com/PiIsRational/zapp
got to the directory of the project and execute to build it:
zig build -Doptimize=ReleaseSafe
the binary will be: ./zig-out/bin/zapp