Skip to content

True two-tier syntax #226

@MostAwesomeDude

Description

@MostAwesomeDude

The parser should fully parse expressions like:

def expr := m`42`

And the expander should expand them into expressions like:

def expr := astBuilder.LiteralExpr(42, _makeSourceSpan("m``", true, 1, 0, 1, 2))

Or something with similar spirit. The goal is to have AST literals be as baked into the language as ints or strings. Other quasiliterals are not affected by this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions