Closed mingodad closed 8 months ago
I like railroad diagrams too, but I'm not sure what's actionable about this issue. I don't think we plan to maintain any official railroad diagrams for the language grammar. (And I suspect that RR diagrams don't scale up well to a grammar as complex as Dart's anyway.) So I'm going to go ahead and close this issue.
Extracting the grammars fragments (I did it manually but could also be done by a script) and converting it to an
EBNF
understood by https://github.com/GuntherRademacher/rr (online available here (IPV6 only) https://www.bottlecaps.de/rr/ui and here (IPV4) https://rr.red-dove.com/ui) we can get a nice navigable railroad diagram to help document/develop/debug the grammar.