It would be nice to have confidence about what sort of grammar Rust has. One possible way we could do that:
- Extract EBNF from the manual
- Use a script to convert it to whatever format antlr wants
- Run the entire test suite through the both the rustc parser and antlr parser. Where one fails so should the other.
It would be nice to have confidence about what sort of grammar Rust has. One possible way we could do that: