-
Notifications
You must be signed in to change notification settings - Fork 48
feat: string formatting #253
Copy link
Copy link
Open
Description
Something like Python fstring or Rust ! which compiles to a series of join statements. For example:
warn (!"Out of bounds: ({xpos}, {ypos})");
Which would compile to:
Currently this has to be achieved by:
warn ("Out of bounds: (" & xpos & ", " & ypos & ")");
This isn't too bad but the unwieldiness stacks up if you are writing many lines like this, such as for debugging.
Having some string formatting syntax would be of great assistance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels