Grammar compilation toolkit for JavaScript. Served with asynchronous goodness. See docs.
⚠️ Depending on your environment, the code may requireregeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
const G = grammar.from( { root , start , eof , productions } ) ;
const parser = ll1.from(G);