summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-30 07:29:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-30 07:29:44 -0700
commitff4d78c938128cd0572f6469425005d9019a7f38 (patch)
tree877b69ca541b02dd8dccd4de14f04dd7ef21db7a /txr.1
parent550c1292e61f52cd1bdcf135520706bbfd6a3464 (diff)
downloadtxr-ff4d78c938128cd0572f6469425005d9019a7f38.tar.gz
txr-ff4d78c938128cd0572f6469425005d9019a7f38.tar.bz2
txr-ff4d78c938128cd0572f6469425005d9019a7f38.zip
* parser.l: Allow unquotes and splices in QSPECIAL and BRACED states.
* parser.y (quasi_item): Support splices as items. * genvim.txr: Syntax highlighting support for unquotes in quasiliterals. * txr.vim: Updated.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.112
1 files changed, 12 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 3f3879e8..53826f82 100644
--- a/txr.1
+++ b/txr.1
@@ -5352,6 +5352,18 @@ This is correct:
(hash-contents '((a 1) (b 2))))
^#H(,hash-args ,*hash-contents))
+.SS Quasiquoting combined with Quasiliterals
+
+When a quasiliteral is embedded in a quasiquote, it is possible to use
+splicing to insert material into the quasiliteral.
+
+.TP
+Example:
+
+ (eval (let ((a 3)) ^`abc @,a @{,a} @{(list 1 2 ,a)}`))
+
+ -> "abc 3 3 1 2 3"
+
.SS Vectors
.IP "#(...)"