Skip to content
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

[Feature Request] Python style triple quote multi line string literals #785

Open
sapphonie opened this issue Apr 9, 2022 · 4 comments
Open
Labels
compiler Problems with the compiler parsing source code. enhancement

Comments

@sapphonie
Copy link

Please. This is agonizing:

https://github.com/sapphonie/StAC-tf2/blob/master/scripting/stac/stac_stocks.sp#L762

<3

@asherkin
Copy link
Member

asherkin commented Apr 9, 2022 via email

@JoinedSenses
Copy link
Contributor

JoinedSenses commented Apr 9, 2022

id also like to see the implementation of raw strings. i think at some point they were removed?

@dvander
Copy link
Member

dvander commented Apr 9, 2022

Agreed, Python triple-quote strings are very idiosyncratic, but some kind of block literal syntax would be great. And not difficult to implement.

@peace-maker peace-maker added enhancement compiler Problems with the compiler parsing source code. labels Apr 10, 2022
@assyrianic
Copy link

not to necro this but can i suggest Golang's ` backtick quotes for doing raw strings?

fmt.Printf(`this
is
a raw string`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Problems with the compiler parsing source code. enhancement
Projects
None yet
Development

No branches or pull requests

6 participants