summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-06-12 07:43:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-06-12 07:43:45 -0700
commit42854d80a361e297a1dee69bebbb6c53d79f2d19 (patch)
treeddb9c576e9d6297104d2f65c454bd0b12070dda7 /share
parentff7c7432e48776dbfc970d19bb81c6fe6075c117 (diff)
downloadtxr-42854d80a361e297a1dee69bebbb6c53d79f2d19.tar.gz
txr-42854d80a361e297a1dee69bebbb6c53d79f2d19.tar.bz2
txr-42854d80a361e297a1dee69bebbb6c53d79f2d19.zip
* Makefile: Install share/txr/stdlib/*.txr material.
* match.c (do_txeval): If a variable is not in the bindings, fall back on treating it as a TXR Lisp dynamic variable. This allows us to refer to the stdlib variable from a quasistring in a @(load ...) directive. * txr.c (sysroot_init): Register new variable, *txr-version*. * share/txr/stdlib/ver.txr: New file.
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/ver.txr1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/txr/stdlib/ver.txr b/share/txr/stdlib/ver.txr
new file mode 100644
index 00000000..b3a9fdb6
--- /dev/null
+++ b/share/txr/stdlib/ver.txr
@@ -0,0 +1 @@
+@(do (defvar *lib-version* 91))