Simple parser and lexer generator for LL(1) grammars
Table of contents
To create lexer and parser, run the following code.
val gen = new Generator(
pathToGrammar,
pathToDirectoryForCode
)
gen.generate()
Where pathToGrammar
is a path to file with grammar description (see Grammar description section for details), and pathToDirectoryForCode
is a path do directory, where generated code (lexer, parser and tokens description) will be placed.
TODO