LALR(1)/Lex online editor/tester for grammars #22941
mingodad
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've just added this project grammar on https://mingodad.github.io/parsertl-playground/playground/ that is an editor/tester for yacc/lex grammars, select
TDengine SQL parserfromExamplesthen clickParseto see the parser tree of the sql inInput source.I hope it'll help document/debug/develop/test the grammar .
For it to work on the online playground I needed to add
NK_SEMIthat was not defined/used in the grammar and add 2 new rules to allow parse multiple statements.Any feedback is welcome !
Beta Was this translation helpful? Give feedback.
All reactions