diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-12-06 05:04:24 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-12-06 05:04:24 -0800 |
commit | 5eaf38e345aafce2f09cafb2195608333cc6f92a (patch) | |
tree | 6e63af0a54003bb3eed604f8babfac312919845a /txr.1 | |
parent | 279aaa062fafff012b4fdb20e104b6e3fb6aac3e (diff) | |
download | txr-5eaf38e345aafce2f09cafb2195608333cc6f92a.tar.gz txr-5eaf38e345aafce2f09cafb2195608333cc6f92a.tar.bz2 txr-5eaf38e345aafce2f09cafb2195608333cc6f92a.zip |
doc: dialect note about quasiquote.
* txr.1: Document that unquoting and splicing forms
may appear outside of unquote syntax.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -10401,6 +10401,19 @@ to apply the ordinary non-splicing unquote to the symbol whitespace must be used: .codn ", *abc" . +In \*(TX, the unquoting and splicing forms may freely appear outside of +a quasiquote template. If they are evaluated as forms, however, they +throw an exception: + +.cblk + ,(+ 2 2) ;; error! + + ',(+ 2 2) --> ,(+ 2 2) +.cble + +In other Lisp dialects, a comma not enclosed by backquote syntax is +treated as a syntax error by the reader. + .NP* Quasiquoting non-List Objects Quasiquoting is supported over hash table and vector literals (see Vectors and Hashes below). A hash table or vector literal can be quoted, like any |