Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

LALR(1)/Lex online editor/tester for grammars#22941

mingodad started this conversation inShow and tell
Discussion options

I've just added this project grammar onhttps://mingodad.github.io/parsertl-playground/playground/ that is an editor/tester for yacc/lex grammars, selectTDengine 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 addNK_SEMI that was not defined/used in the grammar and add 2 new rules to allow parse multiple statements.

%start commands%%commands :    command    | commands command    ;command :    NK_SEMI    | cmd    ;

Any feedback is welcome !

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
1 participant
@mingodad

[8]ページ先頭

©2009-2025 Movatter.jp