yantra
A C++ parser generator that combines lexer, parser, and abstract syntax tree generation in 1 tool.
SITE CAPTUREBased on information published on the service's website. Selection and review policy
WHAT IT DOES
What does it do?
Yantra is an LALR(1) parser generator written in C++. It generates a C++ parser from a grammar file that can be compiled independently and turns input into an abstract syntax tree. It traverses the generated tree from top to bottom and invokes defined semantic actions.
KEY FEATURES
Key features
- Generates a C++ parser from a grammar file.
- Parses the entire input into an abstract syntax tree.
- Traverses the syntax tree from top to bottom and invokes semantic actions.
- Builds the generator executable with CMake.