Skip to content

String Interpolation#3

Open
kyleect wants to merge 1 commit into
mainfrom
string-interpolation
Open

String Interpolation#3
kyleect wants to merge 1 commit into
mainfrom
string-interpolation

Conversation

@kyleect
Copy link
Copy Markdown
Owner

@kyleect kyleect commented May 15, 2026

Introduces syntax for string interpolation

var name = "World";

print $"Hello {name}!";

The $ prefix is to make parsing easier. You know if the next character is " then it should treat it as an interpolated string versus scanning the string for delimiters to know.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant