Talk:Stringle

From Esolang
Jump to navigation Jump to search

Character escaping

Does character escaping exist? I was planning to make a quine, but that would require newlines and quotes, neither of which I see how to put in a string currently. --PkmnQ (talk) 12:31, 2 April 2024 (UTC)

Nope, currrently not. May later be added if it warrants enough attention. Quotes can, however, sometimes be added unescaped in a string: any sequence of characters beginning and ending with a " is a valid string if it only contains whitespace between its first and second, third and fourth etc. quotes and never between every other pair. You can use concatenation to build a string with badly placed spaces from multiple strings.

You may, however, write your quine as if `n represents a newline and `` a literal backtick. (Note that \ is the reverse operator and could cause problems if it would become the escape character.) --Function call without parameters (talk) 22:30, 2 April 2024 (UTC)