diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-06-15 20:54:52 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-06-15 20:54:52 -0700 |
commit | 548dd7697516a2fea8930d3fa9e88ea48d5ab630 (patch) | |
tree | be6c1d61f3e1e982a5451007a2f95a4a2ad693ab /parser.y | |
parent | 9127cdb5d591d2a10919dc9fa2c75f9e44a1d093 (diff) | |
download | txr-548dd7697516a2fea8930d3fa9e88ea48d5ab630.tar.gz txr-548dd7697516a2fea8930d3fa9e88ea48d5ab630.tar.bz2 txr-548dd7697516a2fea8930d3fa9e88ea48d5ab630.zip |
* eval.c (eval_init): Register pos_max, pos_min, find_max,
find_min and seqp as intrinsics.
* lib.c (gt_f, lt_f): New variables.
(to_seq): renamed to toseq.
(seqp): New function.
(minmax): New static function.
(replace_str, replace_vec): Follow to_seq renaming.
(find_max, find_min, pos_max, pos_min): New functions.
(obj_init): gc-protect and initialize gt_f and lt_f.
* lib.h (gt_f, lt_f): Declared.
(to_seq): Declaration updated to toseq.
(seqp, find_max, find_min, pos_max, pos_min): Declared.
* txr.1: Updated.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions