Closed mingodad closed 4 months ago
Thank you for your contribution. For the record, I've attached the gzipped railroad diagram. diagram.xhtml.gz
As a general note, posts like this one are better suited for https://sourceforge.net/p/asymptote/discussion/409349. If you post an issue on github, you should be requesting a change to the software (either a bug fix or a feature request), not simply saying, "Here's something useful and/or cool I did related to Asymptote."
We do enjoy reading about contributions like this one. But github issues are designed to be closed and forgotten once there's nothing left to do, which I suspect is not what you want in this case.
Note: If you do have a request or suggestion (e.g., your efforts revealed an issue with / potential improvement to the parser, or you think your work should be incorporated into the official documentation, or....) feel free to clarify and reopen the issue. We can't promise anything, of course — there are many things we'd love to implement if we had the time — but at least we'll understand what you're asking for.
I've just added this project grammar to https://mingodad.github.io/parsertl-playground/playground/ an
Yacc/Lex
compatible online editor/tester (selectAsymptote camp parser
fromExamples
then clickParse
to see a parse tree for the content inInput source
).And here is an
EBNF
to generate a nice navigable railroad diagram, looking at it can give clues on how to simplify/debug/develop further this grammar.