-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string literal enhancement ideas #905
Comments
|
Crazy idea for new syntax similar to #799
Maybe Rust-like ?
I think the latter syntax might be compatible and not require a new lexer mode. You would have a token like
More ideas
|
I think this is mostly obviated by the |
Yeah this is all too elaborate, I did something simple and effective with #940 |
Related to expression language enhancements #865
(1) get rid of legacy backticks in double quotes, especially for "Pulp" dialect. These should be valid:
(2) for generating Make or Ninja: percent interpolation instead of dollar interpolation
Notes:
%%
and%"
, but I think that's too inconsistent and confusing.$""
in this case, because it's confusing? Or maybe it's consistent? It's just an alias for""
that emphases that$
is the interpolation character. But then that's confused with$''
, which needs to be replaced withc''
.(Discarded idea: repurpose it for C-escaped strings?
$""
and%""
could both be c-escaped with\n \r \t \0 \x00 \u{1234}
? Nah that conflicts withr''
vsc''
. Too confusing)The text was updated successfully, but these errors were encountered: