Logo

Knife

Knife is top-down parser generator for Java. It builds parsers from BNF grammars.

Knife is a tool that reads input grammar in BNF format and converts it to a few Java classes that can parse the given grammar through a simple interface. Knife doesn't require any external libraries or dependencies. All generation is done ahead-of-time. After generating the parsing classes you can just copy them into your project. Also, as other good parser generation tools, knife uses itself to read the input grammar. Knife has a lot of features that make it different from other siminar tools. For more information visit our Github repository at https://github.com/ZeroBone/Knife