Conversation
|
Alternative to #975 |
|
I am currently generating the AST as EBNF, thus we can use tools like https://rr.red-dove.com/ui to render a diagram of the AST. |
|
@cmester0 what does it take to get this in a reviewable state? The plan was to get this done this week. |
9ad1058 to
632484b
Compare
bb4fd9a to
989e8e6
Compare
|
This should be mostly ready for review. Only missing description for some cases. |
9289838 to
1261da9
Compare
297981a to
981d36a
Compare
|
Print EBNF formula as a command (not sure the setup is correct). Currently a full generic printer is implemented for this, however, we might be able to instrument e.g. a rust generic printer as a layered printer being able to print the EBNF formula. Currently uses #1038 to generate elements to be printed. |
W95Psp
left a comment
There was a problem hiding this comment.
This should use the Rust printer, but instrumented towards EBNF printing
7be90f0 to
4e4d439
Compare
|
This PR has been marked as stale due to a lack of activity for 60 days. If you believe this pull request is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days. |
|
Closing this, please re-open @cmester0 if it's something you want to do. |
Generate the accepted Hax syntax using a shallow printer.