Skip to content

Parsinator.js – a JavaScript parser combinator library with state

github.com/fresheneesz
3 pointsbillytetrud1 comment
On HN

Comments

Yet another parser combinator library with a couple unique features:

* State, which helps for contextful languages of any reasonable amount of complexity (like ones that have LR conflicts or whitespace delimiting).

* Supports parameterized parsers and recursive parsers.

* Powerful debug recording and displaying. This can be enormously helpful figuring out why your parser isn't working as you expect.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.