summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-18 21:32:56 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-18 21:32:56 -0700
commit0644dfa597eb3c727296eb7823692e68ee45021f (patch)
treeeecaa642d2b91b44c4323f4da5887007f8884710 /txr.1
parente75b1ccf4d2581be2e055dc7a01398bd50cb464b (diff)
downloadtxr-0644dfa597eb3c727296eb7823692e68ee45021f.tar.gz
txr-0644dfa597eb3c727296eb7823692e68ee45021f.tar.bz2
txr-0644dfa597eb3c727296eb7823692e68ee45021f.zip
Streamline text about where Lisp is evaluated.
* txr.1: Just list directives that take Lisp; drop the details. Point out that no @ is needed for access to Lisp variable.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.130
1 files changed, 14 insertions, 16 deletions
diff --git a/txr.1 b/txr.1
index fc5d693e..94e74310 100644
--- a/txr.1
+++ b/txr.1
@@ -9516,22 +9516,18 @@ are embedded in directives using
.code @
also.
-Secondly, the
-.code @(do)
-directive can be used for evaluating one or more Lisp
-forms, such that their value is thrown away. This is useful for evaluating some
-Lisp code for the sake of its side effect, such as defining a variable,
-updating a hash table, et cetera.
-
-Thirdly, the
-.code @(require)
-directive can be used to evaluate Lisp expressions
-as part of the matching logic of the \*(TX pattern language. The return value
-of the rightmost expression is examined. If it is nil, then the
-.code @(require)
-directive triggers a match failure. Otherwise, matching proceeds.
+Secondly, certain directives evaluate Lisp expressions without
+requiring
+.codn @ .
+These are
+.codn @(do) ,
+.codn @(require) ,
+.codn @(assert) ,
+.code @(if)
+and
+.codn @(next) .
-Fourth, \*(TL code can be placed into files. On the command
+Thirdly, \*(TL code can be placed into files. On the command
line, \*(TX treats files with a
.str ".tl"
suffix as \*(TL code, and the
@@ -9558,7 +9554,9 @@ to the integer 4:
Bind variable
.code b
-to the standard input stream:
+to the standard input stream. Note that
+.code @
+is not required on a Lisp variable:
.cblk
@(bind a *stdin*)