Azul on Nostr: Thinking about multi-line string literal syntax where each line starts with a quote ...
Thinking about multi-line string literal syntax where each line starts with a quote character ("), and only the last line has an end quote ... like it's a fantasy novel and a character is going off on a multi-paragraph monologue.
"hello this
"is a multiline string literal
"and it ends
"on this line"
The purpose of " at the beginning of each line (after the first) is so you can do indentation without affecting the contents. Also each line can be lexed independently.
"hello this
"is a multiline string literal
"and it ends
"on this line"
The purpose of " at the beginning of each line (after the first) is so you can do indentation without affecting the contents. Also each line can be lexed independently.