[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Raw string literals in Emacs lisp.
From: |
Stephen J. Turnbull |
Subject: |
Raw string literals in Emacs lisp. |
Date: |
Sat, 26 Jul 2014 10:19:08 +0900 |
Matthew Plant writes:
> What if we assume that any string surrounded immediately by
> parenthesis is a raw string literal?
Please don't. SXEmacs and XEmacs have had rawstring literals for many
years using the syntax #r"...". It may not be the best way to do
this, but it's (Common) Lisp-y, the prefix notation is familiar from
at least one popular non-Lisp language (Python), and it's about as
short a notation as you can imagine (I don't recall why #"..." was
out, though).
Use of parens for this purpose is likely to have wide-ranging
implications, as it means that they no longer have unambiguous
semantics, but require lookahead to interpret.
- Raw string literals in Emacs lisp., Matthew Plant, 2014/07/25
- Re: Raw string literals in Emacs lisp., Tom Tromey, 2014/07/25
- Raw string literals in Emacs lisp.,
Stephen J. Turnbull <=
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/26
- Re: Raw string literals in Emacs lisp., chad, 2014/07/26
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/26
- Re: Raw string literals in Emacs lisp., Stephen J. Turnbull, 2014/07/27
- Re: Raw string literals in Emacs lisp., David Kastrup, 2014/07/27
- Re: Raw string literals in Emacs lisp., David Caldwell, 2014/07/27
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/27
- Re: Raw string literals in Emacs lisp., Richard Stallman, 2014/07/28
- Re: Raw string literals in Emacs lisp., Matthew Plant, 2014/07/28
- Re: Raw string literals in Emacs lisp., Richard Stallman, 2014/07/29