Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible grammar to use online on cpp-peglib playgound #15

Open
mingodad opened this issue Jun 26, 2022 · 0 comments
Open

Compatible grammar to use online on cpp-peglib playgound #15

mingodad opened this issue Jun 26, 2022 · 0 comments

Comments

@mingodad
Copy link

Attached is a converted pegn grammar that is understood by https://github.com/yhirose/cpp-peglib and it's online playground here https://yhirose.github.io/cpp-peglib/ . The attached zip file contains two files pegn.peg and pegn.pegn, copy and paste the pegn.peg in the Grammar editor and the pegn.pegn in the Source Code editor and click the Parse button (upper right corner) you'll see the AST for pegn.pegn.

The cpp-peglib online playground is a useful tool to develop/debug peg grammars with instant feedback and useful metrics for performance tuning.

pegn.peg.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant