Document valid CFG for Hax
Generate the accepted Hax syntax using a shallow printer.
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.
This should be mostly ready for review. Only missing description for some cases.
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.
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.