diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-05-16 06:34:31 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-05-16 06:34:31 -0700 |
commit | c990d37be74f452d1a8bcb2b0b1dc133704c0a93 (patch) | |
tree | bef4d7e94d53353d5e8fa17b3946874c16d1f7fd /lib.c | |
parent | c606261b92348ef7b0f934705ee46ee4ccf28bab (diff) | |
download | txr-c990d37be74f452d1a8bcb2b0b1dc133704c0a93.tar.gz txr-c990d37be74f452d1a8bcb2b0b1dc133704c0a93.tar.bz2 txr-c990d37be74f452d1a8bcb2b0b1dc133704c0a93.zip |
New special operator: compiler-let
* eval.c (compiler_let_s): New symbol variable.
(op_let): Recognize compiler-let for sequential
binding.
(do_expand): Traverse and diagnose compiler-let
form.
(eval_init): Initialize compiler_let_s and register
the interpreted version of the operator.
* stdlib/compiler.tl (compiler compile): Handle
compiler-let form.
(compiler comp-compiler-let): New method.
(no-dvbind-eval): New function.
* autoload.c (compiler-set-entries): Intern the
compiler-let symbol in the user package.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions