@aureooms/js-grammar
Grammar compilation toolkit for JavaScript. Served with asynchronous goodness. See docs.
⚠️ The code needs a ES2015+ polyfill to work (regeneratorRuntime
), for instance @babel/polyfill.
const G = grammar.from( { root , start , eof , productions } ) ;
const parser = ll1.from(G);