Commit graph

702 commits

Author SHA1 Message Date
Justin Ethier
d1a6db14a7 WIP 2017-02-16 00:38:01 -05:00
Justin Ethier
5c77948a00 WIP 2017-02-16 00:14:10 -05:00
Justin Ethier
55dd1a570e WIP 2017-02-14 17:58:12 -05:00
Justin Ethier
1d6ea4589c WIP 2017-02-15 04:24:15 -05:00
Justin Ethier
0b4e911a3e Fix for signed int promotion 2017-02-14 15:05:24 +00:00
Justin Ethier
c424ce99b7 WIP 2017-02-13 18:57:42 -05:00
Justin Ethier
58d5c47486 WIP 2017-02-13 16:47:38 +00:00
Justin Ethier
c66f31cacd Hooks for bignum arithmetic 2017-02-12 21:58:22 +00:00
Justin Ethier
a6cbce207c Finish comparison ops 2017-02-10 16:26:48 +00:00
Justin Ethier
a9f45d8fb5 Starting to check for over/under flow 2017-02-10 22:41:10 -05:00
Justin Ethier
14956ea58f WIP, bignum integer comparisons 2017-02-10 00:02:24 +00:00
Justin Ethier
73a513f0c9 bignum/bignum equality 2017-02-09 22:11:29 +00:00
Justin Ethier
7c2bc7f514 WIP for bignum comparisons 2017-02-10 04:40:00 -05:00
Justin Ethier
4ad41f6d5c Print bignums 2017-02-10 00:54:18 -05:00
Justin Ethier
b9d6d5d873 WIP - reading bignums 2017-02-10 00:37:41 -05:00
Justin Ethier
b9c8d2abf4 WIP for libtommath 2017-02-08 18:33:20 -05:00
Justin Ethier
57562071c9 Issue #158 - Removed make_int macro
Also removed some related code that became redundant.
2017-01-30 16:54:23 +00:00
Justin Ethier
54051ead86 Fixed up code so it builds now 2017-01-26 18:03:15 -05:00
Justin Ethier
ce0bffb31a WIP 2017-01-26 23:45:46 -05:00
Justin Ethier
0d651d4ff7 Starting the heap changes
This leaves everything as a mess at the moment, there are still a lot of changes that need to be made.
2017-01-25 18:57:38 -05:00
Justin Ethier
2ce541ed4b Issue #155 - Check bytevectors for deep equality 2017-01-24 20:54:29 -05:00
Justin Ethier
07500ce6d6 Properly store thread ID in thread objects
Also sketched out thread-join support but there are larger issues to consider to get that working.
2017-01-22 18:58:37 -05:00
Justin Ethier
649e0eb5c8 Inline gc_mark_globals
Force inlining to attempt to improve performance
2017-01-11 17:54:49 -05:00
Justin Ethier
f6fc268820 WIP 2016-12-21 18:35:02 -05:00
Justin Ethier
e78b336b78 Issue #102 - Pass data parameter to Cyc_display() 2016-12-22 00:14:53 -05:00
Justin Ethier
f60fed7344 Issue #102 - Added a data parameter to Cyc_write() 2016-12-21 23:47:39 -05:00
Justin Ethier
7728e25b8f Output chars correctly via write 2016-12-20 22:35:08 -05:00
Justin Ethier
8c8dc01d44 Call pthread_attr_destroy to free up resources 2016-12-20 05:42:31 -05:00
Justin Ethier
27f7ceab7d Pass thread attr to pthread_create() 2016-12-19 18:59:47 -05:00
Justin Ethier
e005dc79e2 Issue #5 - Do not allow cycles when printing cvars 2016-12-19 14:49:15 +00:00
Justin Ethier
71aaf162c9 Allow Cyc-list to handle 0 args 2016-11-28 18:32:27 -05:00
Justin Ethier
5790716927 Added Cyc_list() 2016-11-28 18:11:36 -05:00
Justin Ethier
97fa0c2dbd WIP 2016-11-19 05:35:25 +00:00
Justin Ethier
5810b7c035 Fix crash on 32-bit systems 2016-11-22 02:58:01 -05:00
Justin Ethier
3ab8ec401f Issue #136 - trailing whitespace in string->number
Allow trailing whitespace, which allows us to accept a wider range of input.
2016-11-17 23:19:13 +00:00
Justin Ethier
86d5d0ef99 Issue #133 - Handle value types without crashing 2016-11-17 22:48:03 +00:00
Justin Ethier
67e63ef49c Issue #134 2016-11-16 22:32:58 +00:00
Justin Ethier
f0e4d65794 Return #f from string->number on conv error 2016-11-16 19:07:20 +00:00
Justin Ethier
d5ac136642 Merge remote-tracking branch 'origin/master' 2016-11-16 17:30:01 +00:00
Justin Ethier
0f04b9a935 WIP string->number error detection 2016-11-16 17:29:40 +00:00
Justin Ethier
7e0c7a1435 Issue #132 - list->string enhancements
- More efficient string construction, only do one alloca/copy
- Allows null characters within a created string without truncating string length.
2016-11-15 18:56:25 -05:00
Justin Ethier
c71163fcf9 Allow floating point divide-by-zero. 2016-10-24 00:09:31 +00:00
Justin Ethier
e636f40f99 Revert memq, memv, assq, assv back to primitives 2016-10-17 23:42:53 -04:00
Justin Ethier
54a47242bf Adding assoc/member C functions back 2016-10-15 17:57:46 -04:00
Justin Ethier
5a8cdc3518 More fixes for the same reversal bug 2016-10-15 16:45:37 -04:00
Justin Ethier
8f14fd3328 Fix order of operations 2016-10-15 16:34:13 -04:00
Justin Ethier
1326d0d5c2 Added fast mul/div 2016-10-14 18:07:00 -04:00
Justin Ethier
fa53f1225e Add fast numeric comparisons 2016-10-15 02:37:13 -04:00
Justin Ethier
bdd3edfe4f Added fast-sub 2016-10-14 23:19:09 -04:00
Justin Ethier
96c3893cb6 WIP, added notes 2016-10-14 04:26:14 -04:00