Skip to content

Grammar tests #2234

Closed
Closed
@brson

Description

@brson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of RustA-testsuiteArea: The testsuite used to check the correctness of rustcP-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions