8000 GitHub - PiIsRational/zapp: A packrat parser generator for zig
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PiIsRational/zapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zapp (Zapp Assembles Packrat Parsers)

Zapp is a packrat parser generator, that is written in Zig and generates code written in zig.

Documentation

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

Installation

There is currently no prepackaged binaries, so the project has to be built from source.

Build Requirements

  • zig >= 0.14.0

Building The project

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

Licensing

the main license of Zapp is the GPLv3, but since the parsers generated by Zapp contain code from Zapp, this code is licensed under an MIT license. Because of this the parsers generated by Zapp are under the MIT License.

About

A packrat parser generator for zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0