summaryrefslogtreecommitdiffstats
path: root/utf8.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-03 00:28:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-03 00:28:01 -0800
commit442c9efa4b176ff2c4c89a43beac3ea3fad247d4 (patch)
tree20f0d8545174ed466d2825ea0315a0a7fdb57c50 /utf8.h
parenta7d3edcff56ee0faa8355ceaea7bc23c2f2e2aa7 (diff)
downloadtxr-442c9efa4b176ff2c4c89a43beac3ea3fad247d4.tar.gz
txr-442c9efa4b176ff2c4c89a43beac3ea3fad247d4.tar.bz2
txr-442c9efa4b176ff2c4c89a43beac3ea3fad247d4.zip
* eval.c (rest_s, op_s): New variables.
(do_eval_args): Allow calls specified by improper lists like (x y . z) where the z expression must evaluate to a list that turns into addition arguments to be applied. (transform_op, expand_op): New static functions. (expand): Call expand_op. (eval_init): Initialize rest_s and op_s. Use rest_s to register rest function. * lib.c (gensym): New function based on gensymv. (gensymv): Now calls gensym. * lib.h (gensym): Declared. * parser.l: Parse @ followed by digits as a new kind of token, METANUM. * parser.y (METANUM): New token. (meta_expr, exprs): Missing rlcp's added. (expr): METANUM variant introduced. (yybadtoken): Handle METANUM. * txr.1: Documented one-symbol argument list of lambda. Documented op. Closed some unbalanced parentheses. * txr.vim: Highlight op.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions