diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-06-17 22:21:42 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-06-17 22:21:42 -0700 |
commit | b41b2cc220d9ba53024045fd3f84cd7be495d6a4 (patch) | |
tree | 75a7d2bcacb30513f05c15da0e62e71a9367e13f /eval.h | |
parent | 90166275e015baddb82e56203b73bf5e1b8014ab (diff) | |
download | txr-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |