-
Notifications
You must be signed in to change notification settings - Fork 7
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 #102
Comments
I think that calling the grammar in https://dusa.rocks/docs/language/syntax/ as |
i've been puzzling this for a bit. I think this is wrong, try code like:
if I believe that |
It seems that |
I think the best way to fix the grammar here is to just replace |
Using the syntax described here https://dusa.rocks/docs/language/syntax/ after small fixes (
<builtin-identifier>
probably is<builtin>
) I've included it here https://mingodad.github.io/parsertl-playground/playground/ (an Yacc/Lex compatible online interpreter/editor, selectGusa parser
fromExamples
then clickParse
to see a parser tree for the content inInput source
) and from there generated theEBNF
understood by https://github.com/GuntherRademacher/rr that generate a nice navigable railroad diagram that can be viewed online (see instructions at the top bellow).The text was updated successfully, but these errors were encountered: