Create a parser-grammer for FoxDot to be used by evomusic: Genetic Algorithm interface for FoxDot.
The parser is not exhaustive but functions well for use-cases
- First run
npm install
in the directory to install dependencies. - Use canopy.js to edit grammer.peg
- Compile using
canopy grammer.peg
- The grammar is stored in grammar.js. Use this file as a module in your JS project to parse your grammar
- Code in app.js helps you test FoxDot syntax and the parsed result