diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-03-28 06:49:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-03-28 06:49:38 -0700 |
commit | 37e839a7431520914a008c5df741e5267c16dcca (patch) | |
tree | e18903fd1e181366a3312d69b3390b79f95c0171 /LICENSE-CYG | |
parent | 817cd83e0165714cb482e4acc54409510a2d0417 (diff) | |
download | txr-37e839a7431520914a008c5df741e5267c16dcca.tar.gz txr-37e839a7431520914a008c5df741e5267c16dcca.tar.bz2 txr-37e839a7431520914a008c5df741e5267c16dcca.zip |
compiler: pass whole form to comp-fun-form.
* share/txr/stdlib/compiler.tl (compiler compile): Pass form
to comp-fun-form rather than sym and (cdr form).
(compile comp-fun-form): Take just a form argument.
Internally destructure to sym and args with tree-bind.
This will allow some special cases added in the future
to have access to the original form.
Diffstat (limited to 'LICENSE-CYG')
0 files changed, 0 insertions, 0 deletions