asm: add 37 new builtins, fix equal? for structural comparison
New builtins: /, odd?, even?, append, reverse, map, filter, fold-left, for-each, apply, member, assoc, write, string-length, string-ref, string-append, string=?, number->string, string->number, char->integer, integer->char, char-alphabetic?, char-numeric?, vector, vector-ref, vector-set!, vector-length, vector?, make-vector, vector->list, list->vector, char?, list?, substring, expt, gcd, integer?. Fixed equal? to do deep structural comparison on pairs (was identity only). Added .cmp_false label. Added apply_proc_raw helper for higher-order fns. 56/63 expanded tests pass. 75 original tests still pass. Known defects: expt overflow, append incomplete copy, num->str stub, map/filter incomplete dispatch, vector display.
This commit is contained in:
parent
8c2a870382
commit
b038266173
1 changed files with 1173 additions and 6 deletions
1179
asm/uncommonlisp.s
1179
asm/uncommonlisp.s
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue