-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Some grammar online demos not working #19
Comments
My bad it seems that we need to select |
Adding the "auto" mode for input seems like a nice addition. For this translator, I am reusing the KGT project. Unfortunately, this wasn't really supposed to be called as a library and this project is using "exit(...)" in many places, which prevents Diagon from continuing on errors. I remember I started working on this here: +CC: @katef FYI. |
Using exit(EXIT_FAILURE) in the middle of a function makes kgt hard to be embedded as a library, because it interrupts the caller. The previous patch removed usage of exit for every generators: katef#40 This one removes usage of exit for every parser. The parsing_error struct is introduced to list all the errors. Issue: - katef#38 - ArthurSonzogni/Diagon#19
Using exit(EXIT_FAILURE) in the middle of a function makes kgt hard to be embedded as a library, because it interrupts the caller. The previous patch removed usage of exit for every generators: katef#40 This one removes usage of exit for every parser. The parsing_error struct is introduced to list all the errors. Issue: - katef#38 - ArthurSonzogni/Diagon#19
Using exit(EXIT_FAILURE) in the middle of a function makes kgt hard to be embedded as a library, because it interrupts the caller. The previous patch removed usage of exit for every generators: katef#40 This one removes usage of exit for every parser. The parsing_error struct is introduced to list all the errors. Issue: - katef#38 - ArthurSonzogni/Diagon#19
Using exit(EXIT_FAILURE) in the middle of a function makes kgt hard to be embedded as a library, because it interrupts the caller. The previous patch removed usage of exit for every generators: katef#40 This one removes usage of exit for every parser. The parsing_error struct is introduced to list all the errors. Issue: - katef#38 - ArthurSonzogni/Diagon#19
Using exit(EXIT_FAILURE) in the middle of a function makes kgt hard to be embedded as a library, because it interrupts the caller. The previous patch removed usage of exit for every generators: #40 This one removes usage of exit for every parser. The parsing_error struct is introduced to list all the errors. Issue: - #38 - ArthurSonzogni/Diagon#19
When trying
https://arthursonzogni.com/Diagon/#Grammar
and selectingISO-EBNF-EBNF
we get this error:And when selecting
WSN-WSN
we get this error:The text was updated successfully, but these errors were encountered: