-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grammar railroad diagram #62
Comments
Here is an initial attempt to create a
EBNF:
|
Wow! Thanks for doing all this. Will study it more closely when I have some free time. |
I have looked it through, and you have captured quite a bit of the syntax accurately from the code. It appears there are some productions that are currently incomplete - e.g., the control flow (parseIf, etc.). What future plans do you have for this work? |
At first I already have done with it, I believe that the railroad diagram is a nice way to communicate the global view of a programming language and help work with it. |
Good on you, and thanks for sharing it for our benefit. All the best to you! |
Trying to generate a parser from the EBNF shown here https://cone.jondgoodwin.com/coneref/ebnf.html using this tool https://www.bottlecaps.de/rex/ it complains about undefined symbols (Command line: -tree -main -javascript).
Notice that I already fixed some of then before send again as shown above see bellwo:
The text was updated successfully, but these errors were encountered: