react-peg
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

React Peg · Build Status Coverage Status

React Peg is a react style parser generator based on PEG.js.

  • Type Checking: With typescript & jsx support, you don't need to play with grammar as string any more.

  • Rule-Based: Build encapsulated rules and compose them to make complex grammar, and you can reuse them just like UI components.

  • Easy to Debug & Unit Test: Since rule is written in JavaScript instead of string, you can easily debug & test grammar and parser.

Playground

https://mistlog.github.io/react-peg-playground/

Documentation

You can find the React Peg documentation on the website.

License

React Peg is MIT licensed.

Package Sidebar

Install

npm i react-peg

Weekly Downloads

4

Version

0.1.8

License

MIT

Unpacked Size

21.9 kB

Total Files

39

Last publish

Collaborators

  • mistlog