Replies: 1 comment 1 reply
-
This is so cool! It would be great to add these diagrams to the language manual. Thanks for sharing! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using some online tools like https://www.bottlecaps.de/rr/ui and https://www.bottlecaps.de/convert/ with https://github.com/p-org/P/blob/master/Src/PCompiler/CompilerCore/Parser/PParser.g4 and https://github.com/p-org/P/blob/master/Src/PCompiler/CompilerCore/Parser/PLexer.g4 joined and commenting
//lexer grammar PLexer;
we can have a nice navigable railroad diagram.Copy and paste the
EBNF
shown bellow on https://www.bottlecaps.de/rr/ui on the tabEdit Grammar
the click on the tabView Diagram
to see/download a navigable railroad diagram.Beta Was this translation helpful? Give feedback.
All reactions