Grammar railroad diagram #190
Replies: 4 comments
-
|
I am going to sleep now, but this looks interesting, I will check it tomorrow! |
Beta Was this translation helpful? Give feedback.
-
|
Funny, I did the same, because if we have a grammar, we can feed it into an LLM and start porting programs and writing test cases. Here is another draft: |
Beta Was this translation helpful? Give feedback.
-
|
Hello @ullenboom from your previous message I manually modified it to be able to generate a navigable railroad diagram. |
Beta Was this translation helpful? Give feedback.
-
|
A typecast is somehow unique; it's not a unary operator. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Asking gemini to extract an EBNF to generate a nice navigable railroad diagram gave me this one shown bellow with instructions at the top, I hope it can be a starting point to help document/develop/debug the grammar.
Beta Was this translation helpful? Give feedback.
All reactions