Dodo doc >
Syntax >
Literal Values >
Special Characters
Special character literals
Special character literals can occur outside string literals. They always start with "\".
Some special characters are:
\" or \q double quote
\n newline
\t tabulation
\uXXXX unicode character XXXX (hexadecimal)
A single special character literal inside single quotes is undistinguishable from the same special character literal without quotes.
Rationale:
keeping special characters out of text string literals accomplishes two
things, it frees text string literals from having to define an escape
character
and it reduces the number of keystrokes needed to type a single
special character since there are no quotes required.
Note that dodo characters correspond to Unicode code points.
^ 2.4.2. Text String Literals
v 2.4.4. Enum Values