hax icon indicating copy to clipboard operation
hax copied to clipboard

Document valid CFG for Hax

Open cmester0 opened this issue 1 year ago • 1 comments

Generate the accepted Hax syntax using a shallow printer.

cmester0 avatar Oct 10 '24 14:10 cmester0

Alternative to #975

cmester0 avatar Oct 10 '24 14:10 cmester0

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 avatar Oct 12 '24 22:10 cmester0

@cmester0 what does it take to get this in a reviewable state? The plan was to get this done this week.

franziskuskiefer avatar Oct 17 '24 06:10 franziskuskiefer

This should be mostly ready for review. Only missing description for some cases.

cmester0 avatar Oct 24 '24 16:10 cmester0

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.

cmester0 avatar Oct 29 '24 11:10 cmester0

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.

github-actions[bot] avatar Jan 23 '25 01:01 github-actions[bot]

Closing this, please re-open @cmester0 if it's something you want to do.

franziskuskiefer avatar Jan 23 '25 12:01 franziskuskiefer