diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-08-16 06:06:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-08-16 06:06:36 -0700 |
commit | 9f620308e05af59d0f5ec31a75e5bdf76135e455 (patch) | |
tree | 97104ca39fd7359f12f578477c01f45a6fb33669 /strudel.c | |
parent | 63704bd63b83a524215cefd0be3f72282c4378d7 (diff) | |
download | txr-9f620308e05af59d0f5ec31a75e5bdf76135e455.tar.gz txr-9f620308e05af59d0f5ec31a75e5bdf76135e455.tar.bz2 txr-9f620308e05af59d0f5ec31a75e5bdf76135e455.zip |
compile-file: include load-time as top-level form.
* share/txr/stdlib/compiler.tl (usr:compile-file): recognize
sys:load-time-lit as a top-level form and recurse through to
compiling its constituent form. We check the flag whether the
syntax had already been processed by the evaluator, though
that currently cannot possibly happen for a form that has just
been parsed from a file by compile-file itself.
* txr.1: Defintion of top-level form (from compile-file POV)
updated. Documentation of load-time updated.
Diffstat (limited to 'strudel.c')
0 files changed, 0 insertions, 0 deletions