You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 parser from Examples then click Parse to see the parser tree of the sql in Input 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_SEMI that was not defined/used in the grammar and add 2 new rules to allow parse multiple statements.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 parser
fromExamples
then clickParse
to 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_SEMI
that 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