Skip to content

How to document repetetive parts of the grammar #266

Open

Description

In #264 @brauliobz says

Also, there must be a ExpressionNoStructLiteral and a ExpressionStmtExpr that other productions use, but I'm still trying to find a good way to show this without cluttering the grammar.

As a first idea I would propose that the productions used for these (e.g. ComparisonExpressionNoStructLiteral) are only in the grammar appendix, once that exists, and we just link to them with a note explaining why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: Syntax and parsing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions