diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-16 22:08:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-16 22:08:20 -0700 |
commit | e1ddd69be814fa9fdaa2a0d2086c831f812e3cfa (patch) | |
tree | ad682bc9551386b69e36b32392b74fa67fddc85e | |
parent | 8ff67a4a297ae1f2a7cf7d108470f3e277309d9d (diff) | |
download | txr-e1ddd69be814fa9fdaa2a0d2086c831f812e3cfa.tar.gz txr-e1ddd69be814fa9fdaa2a0d2086c831f812e3cfa.tar.bz2 txr-e1ddd69be814fa9fdaa2a0d2086c831f812e3cfa.zip |
Improved wording about auto-loading.
* txr.1: In the stdlib variable description, rewrote the text
describing the macro-time autoloading scenario.
-rw-r--r-- | txr.1 | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -31871,11 +31871,12 @@ is installed. Note: there is no need to use the value of this variable to load library modules. Library modules are keyed to specific symbols, and lazily loaded. When a \*(TL library function, macro or variable is referenced for the first time, -the library module which defines it is loaded. This automatic loading happens -during the code expansion phase, or "macro time", so it works for macros. In -the middle of a syntax tree of code, code expander can encounters a symbol -which triggers a library load which defines a macro. When that load completes, -the code expander can expand that macro using the newly created definition. +the library module which defines it is loaded. This includes references +which occur during the code expansion phase, at "macro time", so it works for +macros. In the middle of processing a syntax tree, the expander may encounter a +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 .synb |