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

Online SQL grammar editor/tester #673

Open
mingodad opened this issue Sep 20, 2023 · 0 comments
Open

Online SQL grammar editor/tester #673

mingodad opened this issue Sep 20, 2023 · 0 comments

Comments

@mingodad
Copy link

I've just added grammars like the used in this project grammar to https://mingodad.github.io/parsertl-playground/playground/ (select OctoSQL parser (partially working) under examples then click Parse to see the parser tree for the content in Input source).

There is several other grammars to compare play with:

  • PostgreSQL
  • MySQL
  • SQLite3
  • CG-CQL
  • TDEngine SQL
  • Tradofion SQL
  • Vitess SQL

The main repository is here https://github.com/mingodad/parsertl-playground it's a Yacc/Lex runtime grammar evaluator that can provide quick feedback loop when developing/testing/debug grammars.

It can also generate EBNF compatible with https://www.bottlecaps.de/rr/ui to generate railroad diagrams.

I hope it can help develop/debug/extend/test/document the grammar used in this project.

Any feedback is welcome !

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