8.0.0 • Published 6 years ago
@aureooms/js-grammar v8.0.0
@aureooms/js-grammar
Grammar compilation toolkit for JavaScript. Served with asynchronous goodness. See docs.
:warning: 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);