summaryrefslogtreecommitdiffstats
path: root/eval.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-06-17 22:21:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-06-17 22:21:42 -0700
commitb41b2cc220d9ba53024045fd3f84cd7be495d6a4 (patch)
tree75a7d2bcacb30513f05c15da0e62e71a9367e13f /eval.h
parent90166275e015baddb82e56203b73bf5e1b8014ab (diff)
downloadtxr-b41b2cc220d9ba53024045fd3f84cd7be495d6a4.tar.gz
txr-b41b2cc220d9ba53024045fd3f84cd7be495d6a4.tar.bz2
txr-b41b2cc220d9ba53024045fd3f84cd7be495d6a4.zip
Adding anaphoric ifa macro.
* Makefile (install): Install .tl files present in stdlib directory. (INSTALL): Handle argument 2 being a list. * eval.c (load): New function. * eval.h (load): Declared. * lisplib.c (ifa_set_entries, ifa_instantiate): New functions to lazily load ifa.tl. (lisplib_init): Register new functions. * txr.c (stdlib_path): New variable. (sysroot_init): Store the stdlib path in stdlib_path. * txr.h (stdlib_path): Declared. * share/txr/stdlib/ifa.tl: New file.
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.h b/eval.h
index 0f4b6fd7..b75ea3f0 100644
--- a/eval.h
+++ b/eval.h
@@ -43,6 +43,7 @@ val apply_intrinsic(val fun, val args);
val eval_progn(val forms, val env, val ctx_form);
val eval(val form, val env, val ctx_form);
val eval_intrinsic(val form, val env);
+val load(val target);
val expand(val form, val menv);
val expand_forms(val forms, val menv);
val bindable(val obj);