cossacklabs / acra

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.
https://www.cossacklabs.com/acra/
Apache License 2.0
1.32k stars 128 forks source link

Online SQL grammar editor/tester #673

Open mingodad opened 9 months ago

mingodad commented 9 months ago

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:

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 !