Skip to content

change \uXXXX \UXXXXXX string literal escape syntax to \u{} #2129

Description

@andrewrk

Extracted from #2097 (comment)

This matches (thanks @daurnimator for doing the research):

  • javascript (since ES6)
  • lua (since 5.3)
  • swift (who swapped from our current syntax!)
  • rust

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThis proposal is planned.breakingImplementing this issue could cause existing code to no longer compile or have different behavior.contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.frontendTokenization, parsing, AstGen, Sema, and Liveness.proposalThis issue suggests language modifications. If it also has the "accepted" label then it is planned.stage1The process of building from source via WebAssembly and the C backend.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions