Commit graph

588 commits

Author SHA1 Message Date
Justin Ethier
3050be9004 Stage testing of bignum2_plus_unsigned 2022-06-09 18:59:42 -07:00
Justin Ethier
a0ff18937c Stage bignum2 addition 2022-06-08 22:24:07 -04:00
Justin Ethier
9472304576 Cleanup, add bignum2->str support to runtime 2022-06-08 16:02:37 -04:00
Justin Ethier
eb78f50c66 Working conversion of bignum2 -> string 2022-06-08 11:56:29 -04:00
Justin Ethier
e4c7b12361 Bugfixes, alloc string for bn2->str 2022-06-07 13:26:22 -04:00
Justin Ethier
f8c6d43c4e WIP - bignum2 -> string 2022-06-06 22:44:46 -04:00
Justin Ethier
141e9ed7b5 WIP on bignum2string 2022-06-05 20:58:24 -04:00
Justin Ethier
c68c60f007 Stage definitions to be integrated 2022-06-04 14:52:48 -04:00
Justin Ethier
bbc345cc9b WIP 2022-06-02 20:05:08 -07:00
Justin Ethier
224997169b Merge branch 'master' into bignum-experimental-dev 2022-06-02 17:46:16 -07:00
Justin Ethier
165da29c49 Convert fixnum to bignum 2022-06-01 22:50:48 -04:00
Justin Ethier
22c4f0277a Basic bignum2 hooks 2022-06-01 21:40:28 -04:00
Justin Ethier
79f4a1f4ea WIP - bignum2 2022-06-01 17:47:31 -04:00
Justin Ethier
6ffd229dcd Add memory-streams to list of features 2022-05-28 08:21:11 -07:00
Justin Ethier
5101de1547 Issue #143 - Track recursion depth of equalp
This prevents the possibility of segfaulting when traversing arbitrarily complex circular structures.
2022-05-26 13:02:24 -04:00
Justin Ethier
bb861334f6 Simplify heap type definitions
This is the first step in making it easier to change the number and/or size of heap pages.
2021-08-17 15:03:53 -04:00
Justin Ethier
227861cb2e Use smaller datatype for ttl 2021-08-17 07:42:39 -04:00
Justin Ethier
f17102178b Continue building-out new numerator/denominator 2021-07-21 19:47:42 -07:00
Justin Ethier
d3ab710bb4 Issue #466 - Prevent compiler warnings regarding Cyc_st_add and string comparisons
Were seeing newer versions of clang spamming warnings due to how we were comparing strings here.
2021-07-16 13:02:50 -07:00
Justin Ethier
e21735512e Attempt to avoid compilation warnings on clang 2021-07-15 20:00:33 -07:00
Justin Ethier
358fe01fc2 Issue #211 - production version of (char-ready?) 2021-06-08 13:38:33 -04:00
Justin Ethier
100c9c50ab Fix primitive_type declarations so module compiles 2021-05-24 18:49:45 -07:00
Justin Ethier
6ac96ea5c2 Simplify num argument checks for apply
Avoid calling (length) twice, cleanup, and simplify related code.
2021-05-24 12:41:19 -04:00
Justin Ethier
8526a0676f Require num_args for primitive_type
This will allow us to use the same validation code as for closures.
2021-05-24 12:35:50 -04:00
Justin Ethier
a05959cb90 Converted primitive functions to new calling conventions 2021-05-22 19:45:52 -07:00
Justin Ethier
c44f7fcc0b WIP conversion 2021-05-20 19:58:14 -07:00
Justin Ethier
b8ed157105 Added init_polyfills() 2021-05-02 19:30:11 -07:00
Justin Ethier
81d9410395 Document macros, remove dead code 2021-04-06 19:51:45 -07:00
Justin Ethier
2c66875899 Update C macro docs 2021-04-06 19:01:37 -07:00
Justin Ethier
5c113c0303 Issu3 #421 - Add missing docs 2021-04-05 18:36:50 -04:00
Justin Ethier
6edbd8cd57 Prevent compilation warninG 2021-03-14 21:22:14 -04:00
Justin Ethier
b507485f55 Port dispatch_apply to new calling convention 2021-03-06 22:07:11 -05:00
Justin Ethier
d590904894 Porting function callling conventions 2021-02-26 22:31:02 -05:00
Justin Ethier
93310be845 Convert C function calls 2021-02-21 11:24:08 -05:00
Justin Ethier
d06dbcb64a Remove dispatch.c, port Cyc_apply 2021-02-21 10:53:16 -05:00
Justin Ethier
5ff682a592 Remove Cyc-list, seems unused 2021-02-19 10:19:32 -05:00
Justin Ethier
c839edb5e2 Cleanup, convert CPS function sigs 2021-02-18 22:59:03 -05:00
Justin Ethier
24bbc2e39d Converting function calls 2021-02-16 22:55:40 -05:00
Justin Ethier
d5ba874ae2 WIP, updating function calling conventions 2021-02-16 22:42:36 -05:00
Justin Ethier
2de1eb9e7f WIP, changing CPS calling conventions 2021-02-15 22:47:33 -05:00
Justin Ethier
496387293f Merge branch 'cargs-dev' into cargs2-dev 2021-02-15 21:21:15 -05:00
Justin Ethier
b6c2a353a8 Compilation fixes 2021-02-11 22:27:50 -05:00
Justin Ethier
c77cfcd6f7 unpack varargs 2021-02-10 22:28:21 -05:00
Justin Ethier
7974ce9da2 Issue #370 - add type checking for doubles 2021-01-30 17:43:38 -05:00
Justin Ethier
23249133af Added Cyc_check_argc macro to help w/new functions 2021-01-21 23:03:55 -05:00
Justin Ethier
d2b500278c Bug fixes 2021-01-07 10:10:25 -08:00
Justin Ethier
abe4e31d05 Added hashset_to_array 2021-01-06 19:58:25 -08:00
Justin Ethier
a5fb3b1b14 Allow (vector?) to recognize and disregard record types 2020-12-21 23:00:43 -05:00
Justin Ethier
c3075a6396 Added record_tag 2020-12-20 22:39:28 -05:00
Justin Ethier
937f6b61c2 Added ffi module 2020-08-14 14:37:19 -04:00