Online spec grammar test/edit/debug/develop #1677
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
-
I'm creating a LALR(1)/FLEX online editor/tester based on https://github.com/BenHanson/gram_grep and https://github.com/BenHanson/parsertl14 compiled to
wasm
.And I just added the converted https://github.com/WebAssembly/spec/blob/main/interpreter/text/parser.mly to it.
You can go to https://mingodad.github.io/parsertl-playground/playground/ and select
Webassembly interpreter parser
fromExamples
then click onParse
to see a parser tree of the code inInput source
.I hope it can facilitate document/develop/debug the spec grammar with instant feedback.
Any feedback is welcome !
Beta Was this translation helpful? Give feedback.
All reactions