diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-26 21:25:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-26 21:25:57 -0700 |
commit | a2270ae7a5b5d337cf0b92fbf44cd4767ce8965e (patch) | |
tree | 7d37c3c7f78cc861cec6ae5a2bc3f2ac89e49b1f /txr.1 | |
parent | 35c93525878412abba9acbc46071327c8bfcfc9c (diff) | |
download | txr-a2270ae7a5b5d337cf0b92fbf44cd4767ce8965e.tar.gz txr-a2270ae7a5b5d337cf0b92fbf44cd4767ce8965e.tar.bz2 txr-a2270ae7a5b5d337cf0b92fbf44cd4767ce8965e.zip |
Get rid of sys:load; load becomes function.
* eval.c (sys_load_s): Variable removed.
(sys_load): Function removed.
(load): Body of function taken from sys_load.
There is no sloc argument; the *load-path*
variable is sampled via new load_path macro.
(me_load): Static function removed.
(eval_init): Remove initialization of sys_load_s
Remove registration of load macro and
sys:load function. Register load function.
* eval.h (load_path): New macro.
* txr.1: Change documentation of load from macro
to function.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -44906,14 +44906,14 @@ symbol that is registered for auto-loading, and trigger the load. When the load completes, the symbol might now be defined as a macro, which the expander can immediately use to expand the given form that is being traversed. -.coNP Macro @ load +.coNP Function @ load .synb .mets (load << target ) .syne .desc The .code load -macro causes a file of \*(TL code to be read and evaluated. +function causes a file of \*(TL code to be read and evaluated. The .meta target argument is a string. |