@aureooms/js-grammar

Grammar compilation toolkit for JavaScript

Usage no npm install needed!

<script type="module">
  import aureoomsJsGrammar from 'https://cdn.skypack.dev/@aureooms/js-grammar';
</script>

README

@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);

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code coverage (clim) Code technical debt Documentation