Single Quoted Tokens
Joe Hurd
Galois, Inc.
I welcome the opportunity to precisely specify this issue. I see the
need for an escape mechanism, but prefer it to be minimal. Thus I
support Geoff's minimal suggestion:
- Escape only the quote and the escape.
That allows things like 'a\\b\'c'.
However, I see a potential need for supporting more characters, on a
character by character basis (the whole of ISO Prolog looks overkill).
For example, \n for newline and \t for tab look
immediately useful.
In addition to clarifying this issue, I would also welcome a
clarification for escaping inside double quoted strings.