Open mingodad opened 1 year ago
I've just added zetasql
grammar to https://mingodad.github.io/parsertl-playground/playground/ (select "ZetaSQL parser (be patient)(partially working)" from "Examples" then click "Parse" to see a parser tree for the content in "Input source").
I hope it can help debug/develop/experiment with zetasql
grammar.
I've also updated the zetasql
grammar and example on https://mingodad.github.io/parsertl-playground/playground/ with the latest grammar that now has PIPE
(|>
) operator.
Using some online tools like https://www.bottlecaps.de/rr/ui and https://www.bottlecaps.de/convert/ we can have a nice navigable railroad diagram.
Copy and paste the
EBNF
shown bellow on https://www.bottlecaps.de/rr/ui on the tabEdit Grammar
the click on the tabView Diagram
to see/download a navigable railroad diagram. Note updated theEBNF
to this grammar commit https://github.com/google/zetasql/blob/194cd32b5d766d60e3ca442651d792c7fe54ea74/zetasql/parser/bison_parser.y