rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
99.01k stars 12.79k forks source link

jsondocck: Parse, don't validate commands. #133478

Open aDotInTheVoid opened 3 days ago

aDotInTheVoid commented 3 days ago

Centralizes knowledge of jsondocck syntax into the parser, so the checker doesn't need to know what the indexes are.

Vaguely related zulip discussion

I'm very happy this is negative LoC, despite adding a big, documented enum!

r? @fmease