Skip to content

Online SQL grammar editor/tester #673

Open
@mingodad

Description

@mingodad

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mingodad

        Issue actions

          Online SQL grammar editor/tester · Issue #673 · cossacklabs/acra