Skip to content

Improve string ergonomics #255

@x87

Description

@x87
  • string literals (both single and double quoted) should support escape sequences. currently only strings inside hex..end do that:
hex
  "\t" // compiles as 09 (code for a TAB character)
end

0@v = "\t" // compiles as 5C 74 ("\t")
  • strings should support multiple spaces without escaping
hex
  "\t     \t" // leave one space between \t
end

0@v = "\t     \t" // same
  • SB3_compat mode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions