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