3 ms·
Parsinator.js – a JavaScript parser combinator library with state
- billytetrud 3y agoYet 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.