@raviqqe/parcom
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

parcom.ts

GitHub Action Codecov npm License

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.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @raviqqe/parcom

Weekly Downloads

1

Version

1.2.0

License

none

Unpacked Size

20.8 kB

Total Files

24

Last publish

Collaborators

  • raviqqe