rr
rr copied to clipboard
Feature request: drop-down diagrams
It would be great to be able to view the whole railroad diagram or choose which production rules to reveal. From:
to:
by one click, and, if necessary, return it back (to be able to abstract away from primitive and understandable production rules - syntax for URLs as example). This will help in cases where a grammar is cumbersome
I considered a similar request; "chunked" diagrams. Here's a shot https://github.com/VladimirAlexiev/grammar-diagrams?tab=readme-ov-file#chunked-sparql-diagram and link to discussion about such a tool.
But it's non-trivial how to control the level of chunking: don't show too much, nor too little.