Skip to content

Change compiler to write vectors as []/~ #2725

Closed
@msullivan

Description

@msullivan

As a temporary stepping stone in vector reform (Issue #2653), we are making the compiler write all of its vector literals using the postfix /~ notation.

It is an uglification, but I have already done it, and @graydon thinks this will make future changes to a permanent vector syntax easier to accomplish mechanically. Merging it into the tree now keeps me from having to go through constant merge hell in the interim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions