Détail du package

prscombinator

MoserMichael7MIT0.0.4

parser combinator library, produces recursive descent PEG parser. returns an abstract syntax tree as return value. Usable from both nodejs and browser

parser, combinator, peg, parser

readme

prs.js - A small Javascript module for building parser combinators

A module to build parser combinators prs.js - the resulting parser is a top-down parser, also known a parsing expression parser PEG

This is a standalone script, you can use it both with nodejs and in a browser.

Installation

npm i prscombinator

or download library file from github: link

See the package page on npm

Documentation & Examples

See the generated documentation

See example usage in test test

Also the PYX interpreter/shell is using this parser generator. here