Commit graph

898 commits

Author SHA1 Message Date
Justin Ethier
15cf24a1f2 More efficiently unbox known fixnums 2021-05-18 17:42:23 -04:00
Justin Ethier
b8ed157105 Added init_polyfills() 2021-05-02 19:30:11 -07:00
Justin Ethier
31caeff533 Initial error handling for max args
Would like something more sophisticated than this, but this is a first-cut of code to prevent segfaulting due to too many arguments being received.
2021-03-16 17:14:42 -04:00
Justin Ethier
6edbd8cd57 Prevent compilation warninG 2021-03-14 21:22:14 -04:00
Justin Ethier
27484cd4a4 Convert from macro
This makes everything cleaner since the macro was only used in one place, defeating the purpose.
2021-03-13 23:07:21 -05:00
Justin Ethier
1e91243b16 Cleanup and bug fixes 2021-03-12 22:00:32 -05:00
Justin Ethier
c2274aed52 Fix off-by-one errors 2021-03-12 15:04:35 -05:00
Justin Ethier
4878149af0 Fix off-by-one error 2021-03-12 12:31:39 -05:00
Justin Ethier
fcfaec65aa Bug fixes 2021-03-11 22:34:53 -05:00
Justin Ethier
b507485f55 Port dispatch_apply to new calling convention 2021-03-06 22:07:11 -05:00
Justin Ethier
eca1956400 Merge remote-tracking branch 'origin/master' into cargs2-dev 2021-03-06 21:37:23 -05:00
Justin Ethier
6c99e95ddb
Merge pull request #452 from arthurmaciel/master
Cleaned-up timing code
2021-03-05 22:23:29 -05:00
Arthur Maciel
535f2737b1 Cleaned-up timing code 2021-03-05 22:57:33 -03:00
Justin Ethier
ee11bc0ab0 Merge branch 'master' into cargs2-dev 2021-03-04 22:58:11 -05:00
Justin Ethier
2880301d69 Issue #450 - Updated the runtime to avoid a race condition when creating new symbols 2021-03-04 18:02:48 -05:00
Justin Ethier
d590904894 Porting function callling conventions 2021-02-26 22:31:02 -05:00
Justin Ethier
1d18d70951 Convert bytevector-append 2021-02-24 23:01:42 -05:00
Justin Ethier
5e9def9dbf Port runtime functions for (bytevector) 2021-02-23 22:54:16 -05:00
Justin Ethier
085860ac51 Merge branch 'master' into cargs2-dev 2021-02-23 15:20:47 -05:00
Justin Ethier
c82e69a997 Added import-shared-object 2021-02-23 15:18:38 -05:00
Justin Ethier
789b97826f Remove casts to function_type
Each of these functions will need to be ported to use the new function_type signature
2021-02-21 21:57:52 -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
807eb98843 Clean up and more function conversions 2021-02-20 22:07:25 -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
8ebee64dda Convert numeric comparisons, remove dead code 2021-02-17 22:59:12 -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
f428d2c4de WIP 2021-02-08 17:17:51 -05:00
Justin Ethier
f624e68a33 WIP 2021-02-01 23:02:08 -05:00
Justin Ethier
d76c1e9806 Issue #370 - Clarify type as double 2021-01-30 17:51:23 -05:00
Justin Ethier
cdf4de6611 Issue #432 - Use standard integer data types
Previous non-standard declarations were causing problems on WASM platform
2021-01-15 10:55:56 -05:00
Justin Ethier
50cc213437 Issue #430 - Ensure collection of vector fill
Prevent an edge case where the stack object used to fill a large vector is not promoted to the heap.
2020-12-24 13:50:00 -05: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
1156977958 Issue #425 - Raise a scheme error instead of allowing the runtime to segfault 2020-12-13 11:05:36 -05:00
Justin Ethier
e8ef39c76b Issue #422 - Fix compilation error 2020-11-17 22:45:40 -05:00
Justin Ethier
7c8823f333 Cleanup printing of call history 2020-10-17 19:21:14 -04:00
Justin Ethier
df0412dda7 Attempt to handle whitespace on windows 2020-09-17 17:58:38 -04:00
Justin Ethier
457ca32279 Issue #407 - Modified the reader to handle escaped intraline whitespace properly, per R7RS. 2020-09-16 23:05:02 -04:00
Justin Ethier
af1be469e8 Allow passing function args to Cyc_init_thread 2020-08-13 18:45:53 -04:00
Justin Ethier
10630b4907 Allow optional thread cont arg 2020-08-12 18:49:02 -04:00
Justin Ethier
ad95e0e2c4 Issue #392 - Do not reference double as bignum
Fixed copy-and-paste issue that could lead to crashes and undefined behavior.
2020-06-29 12:19:47 -04:00
Justin Ethier
3dc451d016 eqv? behavior per R7RS 2020-05-21 18:12:54 -04:00
Justin Ethier
cf6ccc25d9 Issue #377 2020-05-18 18:18:33 -04:00
Justin Ethier
81d2e70037 Issue #374 - Allow full access to open-binary prims 2020-05-17 18:35:12 -04:00
Justin Ethier
1d4ed48bd7 Issue #368 - Fix typo that swapped (vector?) for (bytevector?) 2020-05-13 15:45:14 -04:00