Skip to content

formal-language/grammar

Repository files navigation

Grammar compilation toolkit for JavaScript. Served with asynchronous goodness. See docs.

⚠️ 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);

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size