summaryrefslogtreecommitdiffstats
path: root/eval.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-03-28 19:14:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-03-28 19:14:53 -0700
commit084bde656bac142bba5311b519c7bb78e2c45dad (patch)
tree4966a7893b0d06768ca530ebf6ed97fe4d3c8a28 /eval.h
parent051bf360110a5b9649fe9a2b5b35b2dcfed868d6 (diff)
downloadtxr-084bde656bac142bba5311b519c7bb78e2c45dad.tar.gz
txr-084bde656bac142bba5311b519c7bb78e2c45dad.tar.bz2
txr-084bde656bac142bba5311b519c7bb78e2c45dad.zip
* eval.c (prinl, pprinl): Become external functions.
(tprint): New function. (eval_init): Register tprint as intrinsic. * eval.h (prinl, pprinl, tprint): Declared. * txr.c (txr_main): New option, -t. * txr.1: Documented tprint and -t option.
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/eval.h b/eval.h
index f027de1a..39344c05 100644
--- a/eval.h
+++ b/eval.h
@@ -49,5 +49,8 @@ val bindable(val obj);
val mapcarv(val fun, val list_of_lists);
val lazy_mapcar(val fun, val list);
val generate(val while_pred, val gen_fun);
+val prinl(val obj, val stream);
+val pprinl(val obj, val stream);
+val tprint(val obj, val out);
void eval_init(void);