@ohm-js/miniohm-js
v0.5.0
Published
Implementation of the miniohm interface, to use Wasm grammar blobs from JavaScript.
Downloads
25
Readme
miniohm-js
Differences
Arity
- Iter and Opt nodes are no longer flattened.
- Positive lookahead does not bind a node.
Building ASTs
AstBuilderclass replacestoAST.- Recursive calls:
this.toAst(node)rather thannode.toAST(this.args.mapping) this.currNodevsthis.
