Closed mingodad closed 7 months ago
I've just added src/language.yacc
to https://mingodad.github.io/parsertl-playground/playground/ an Yacc/Lex
compatible online editor/tester (select Pike-lang parser
from Examples
then click Parse
to see a parser tree for the content in Input source
).
I hope it can help develop/debug/test/document this project grammar !
Any feedback is welcome !
Using this online tool https://www.bottlecaps.de/convert/ to convert the
Pike
grammar to a format understood by https://www.bottlecaps.de/rr/ui and manually adding the lex tokens we can have a navigable railroad diagram (https://en.wikipedia.org/wiki/Syntax_diagram).Copy the EBNF shown bellow on https://www.bottlecaps.de/rr/ui in the tab
Edit Grammar
then switch to the tabView Diagram
.