This is a very simple token parser built using PEGjs (https://pegjs.org/) The generated parser is generatedParser.js The grammar used to generate it is grammar.pegjs To build it, run yarn run build