summaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-27 08:06:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-27 08:06:47 -0700
commit70dca98f3500158716f49d5281d55769a44f7f67 (patch)
treea635c43c7710ec946e480f5fc287461c25f035f4 /vm.h
parent38868195bfc5df39c11e85df4e1550c197f32009 (diff)
downloadtxr-70dca98f3500158716f49d5281d55769a44f7f67.tar.gz
txr-70dca98f3500158716f49d5281d55769a44f7f67.tar.bz2
txr-70dca98f3500158716f49d5281d55769a44f7f67.zip
symbol-function: support lambda expressions.
* eval.c (lookup_fun): Check for a lambda expression and return a faked binding containing the interpreted function. (do_eval, op_fun): Remove checks for lambda that are now being done in lookup_fun. In many other places where lookup_fun is used, we still need lambda checks, like in the expander. * share/txr/stdlib/place.tl (sys:get-fun-getter-setter): Take form argument. Diagnose assignments to lambda, and to unknown function place syntax. (defplace symbol-function): Pass sys:*pl-form* to sys:get-fun-getter-setter as form argument. * txr.1: fboundp and symbol-function doc updated.
Diffstat (limited to 'vm.h')
0 files changed, 0 insertions, 0 deletions