-
Notifications
You must be signed in to change notification settings - Fork 3
Description
When writing structured text documents, it's often desirable to have a syntax that means something like "and the rest of the line is one string." We sort of have that with unclosed ", but that has the issue that the rest of that string can't contain a ", or else it becomes a closed string, and users will often type a " absentmindedly when they're writing in the mindset of a string that continues until the end of the line, creating problems.
So I'd consider something like :" or ::. A person would normally never type those sequences of characters, so they're free to use.
If we did this, getting rid of unclosed " might be a good idea, since it just becomes a flawed version of this and using it becomes a bad habit, setting the user up to accidentally close the string and get weird structures. I think I'd like to just replicate woodslist's very straightforward strings where, well, whatever's in the string is in the string, including newlines and indents, and that's all there is to it. This is sometimes what people want. Although our indented multiline strings are usually preferable, they would still be available through the continues operator.