rp

react-peg

A react style parser generator based on PEG.js

Showing:

Popularity

Downloads/wk

5

GitHub Stars

18

Maintenance

Last Commit

7mos ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

32.0KB

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

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.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100