Parsinator.js – a JavaScript parser combinator library with state (github.com) 3 points by billytetrud 2y ago ↗ HN
[–] billytetrud 2y ago ↗ 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.
1 comment
[ 0.18 ms ] story [ 9.9 ms ] thread* 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.