diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-01 01:01:44 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-01 01:01:44 -0800 |
commit | 7b943e2dbcbc1197e25003adef5a089227bd0db5 (patch) | |
tree | 85415c8e4e78c25976cf40abd6a5b6222be8ec43 /lisplib.c | |
parent | eeb6bfb445bbf13f9c4143239a9c4d182ebd1c38 (diff) | |
download | txr-7b943e2dbcbc1197e25003adef5a089227bd0db5.tar.gz txr-7b943e2dbcbc1197e25003adef5a089227bd0db5.tar.bz2 txr-7b943e2dbcbc1197e25003adef5a089227bd0db5.zip |
compiler: new dump-compiled-objects function.
* lisplib.c (compiler_set_entries): Register
dump-compiled-objects for auto-loading.
* share/txr/stdlib/compiler.tl (usr:dmp-to-tlo): New
function.
(compile-file): Code to be shared with dump-compiled-objects
moved into dump-to-tlo function.
(usr:dump-compiled-objects): New function.
* txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r-- | lisplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -705,7 +705,7 @@ static val compiler_set_entries(val dlt, val fun) }; val name[] = { lit("compile-toplevel"), lit("compile-file"), lit("compile"), - lit("with-compilation-unit"), + lit("with-compilation-unit"), lit("dump-compiled-objects"), nil }; |