Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.11 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.11 KB

parserGen is an LL(1) parser generator framework, that focuses on advanced error-reporting.

Status

Video

Screenshot

The screenshot shows parserGen displaying the hardcoded LL(1) parsing table that is used to read user grammars, and the roughly identical parsing table generated from the user grammar file.

A demo screencast demonstrates the error-reporting capabilities.

Features:

  • LL(1) grammar parsing
  • Generation of the LL(1) parsing table
  • Clever error-reporting

Planned Features:

  • Generation of tokenizers
  • Curses-based dashboard for grammar analysis and debugging

Building

Open-GraphEq uses Node.js and yarn. After installing these dependencies, simply run yarn from the project folder.

Manual

Use node --no-warnings src/main.js to launch the parserGen demo. --no-warnings is required to silence the warnings that come from using the experimental fs Promises API.