This is a demo for using Chevrotain to build a formula parser. Project files are:
calculator.g4&formula.g4- antlr grammar specificationcalculator.js&formula.js- Chevrotain lexer and parser*_diagrames.html- diagrames generated bycreate_diagram.js
Use pnpm test to run test cases.