1.2.0 • Published 1 year ago
@raviqqe/parcom v1.2.0
parcom.ts
A parser combinator library for nontrivial tokens written in TypeScript.
Features
- Support for any tokens
- Lines in line-oriented configuration file formats, HTML nodes, etc.
- A simple set of combinators
- Strict typing
Currently, this package supports only content-free grammars.
But you can easily extend it by forking it and modifying TokenIterator
to handle generic states.