summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-08-30 02:29:09 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-08-30 02:29:09 -0700
commit793a7f441019b6788c260621f2e6e7a42899da21 (patch)
treeaa81f81ebce406a68a4a0273653e020d9a3e33a5 /txr.1
parent05ebefa3edfb2cf6dfd478c96630f49ced30845c (diff)
downloadtxr-793a7f441019b6788c260621f2e6e7a42899da21.tar.gz
txr-793a7f441019b6788c260621f2e6e7a42899da21.tar.bz2
txr-793a7f441019b6788c260621f2e6e7a42899da21.zip
* eval.c (eval_intrinsic): Bugfix: take the expanded form instead
of throwing it away. (expand): Recurse into expand_place for (set ...) forms. * txr.1: Documented eval.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.115
1 files changed, 15 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index c471c2ae..4d23d53b 100644
--- a/txr.1
+++ b/txr.1
@@ -7631,6 +7631,21 @@ each list correspond to the pairs in the hash table.
.SS Function eval
+.TP
+Syntax:
+
+ (eval <form> <env>)
+
+.TP
+Description:
+
+The eval function treats the <form> object as a Lisp expression, which is
+evaluated. The side effects implied by the form are performed, and the value
+which it produces is returned. The <env> object specifies an environment for
+resolving the function and variable references encountered in the expression.
+The object nil can be specified as an environment, in which case the evaluation
+takes place in the top-level environment.
+
.SS Function chain
.SS Functions andf and orf