I'm not sure what specific ideas you had in mind with this...
...but maybe the FENCE! proposal covers it?
Historically strings have presented a challenge to retaining the quoting style you used to make them, because:
-
Some strings are created programmatically and don't come from a LOAD, so they have no initial delimiters.
-
Mutations can make it so you can't use the same delimiter to output the string as when you LOADed it...
>> str: "abc" == "abc" >> append str {"} == {"abc}