summaryrefslogtreecommitdiffstats
path: root/genvim.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-11-30 07:43:00 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-11-30 07:43:00 -0800
commite8f6f8d3aa516b4154dd9832bf50de82ddb07840 (patch)
tree774fac61fad3f04968fb7f404a32ba27150e803f /genvim.txr
parenta35352076ebdadf1a522e0e80ffaef83c91ef1e1 (diff)
downloadtxr-e8f6f8d3aa516b4154dd9832bf50de82ddb07840.tar.gz
txr-e8f6f8d3aa516b4154dd9832bf50de82ddb07840.tar.bz2
txr-e8f6f8d3aa516b4154dd9832bf50de82ddb07840.zip
defun can define methods.
* eval.c (op_defun): Handle (meth type name) syntax in place of name via sys:defmeth function, which is dynamically resolved and autoloaded as necessary. (builtin_reject_test): When defun is being checked, recognize a (method ...) form and allow it. * struct.h (meth_s): Declaration added. * txr.1: Documented new defun capability.
Diffstat (limited to 'genvim.txr')
0 files changed, 0 insertions, 0 deletions