Commit graph

3546 commits

Author SHA1 Message Date
Justin Ethier
9643d8742b Cleanup 2017-08-08 18:09:54 -04:00
Justin Ethier
7d40369c10 Added 143 tests 2017-08-08 17:01:52 +00:00
Justin Ethier
cb2e2a7e59 Fixup header comment 2017-08-08 16:58:31 +00:00
Justin Ethier
1028fc566a WIP 2017-08-08 16:57:02 +00:00
Justin Ethier
444f27a8a6 Added additional defs from ref impl 2017-08-08 15:33:21 +00:00
Justin Ethier
be11ed674f Added bit-set 2017-08-08 15:27:23 +00:00
Justin Ethier
a247ba03ad Check for divide by zero 2017-08-08 15:09:37 +00:00
Justin Ethier
a6d2cc0b7a Added TODO 2017-08-08 13:54:15 +00:00
Justin Ethier
0cb8f0f591 Added fxif 2017-08-08 13:51:16 +00:00
Justin Ethier
1a3f60711f Added fxarithmetic-shift 2017-08-08 13:19:38 +00:00
Justin Ethier
390192db2a Added shifts 2017-08-08 13:17:09 +00:00
Justin Ethier
5b5e88a61a Adding bitwise ops 2017-08-08 13:05:17 +00:00
Justin Ethier
c46f3991d3 WIP 2017-08-08 12:52:44 +00:00
Justin Ethier
0a84ef6772 New file 2017-08-08 12:52:36 +00:00
Justin Ethier
3072000956 Remove old comments 2017-08-07 18:52:49 -04:00
Justin Ethier
64b1afa5e2 WIP 2017-08-07 18:51:59 -04:00
Justin Ethier
59fc9ebba3 Added TODO 2017-08-07 17:41:32 +00:00
Justin Ethier
c45aa16b30 Issue #209 - Starting SRFI 143 2017-08-07 16:37:51 +00:00
Justin Ethier
464a9e4195 Releasing 0.5.4 2017-08-02 18:49:41 -04:00
Justin Ethier
8684c93e20 Possible TODO 2017-08-02 13:07:52 +00:00
Justin Ethier
69a54ecb6a Added constant folding back 2017-08-01 18:43:33 -04:00
Justin Ethier
9a9bb4079f Disabling cyc-seq for now, since it breaks gcbench
Compiling with this seems to cause crashes (segfaults, etc) on the gcbench program.
2017-08-01 18:08:12 -04:00
Justin Ethier
0e5257eb91 Reverting constant folding for now 2017-08-01 13:27:49 +00:00
Justin Ethier
179e223dfa Revised 2017-07-31 13:35:36 +00:00
Justin Ethier
0aa3437143 WIP 2017-07-29 20:27:43 -04:00
Justin Ethier
06d7eb1e7e Reverting temporarily 2017-07-29 19:21:43 -04:00
Justin Ethier
be9d68c3f1 Only preemtively grow small obj heaps 2017-07-28 21:33:28 -04:00
Justin Ethier
f8ddd4909a Issue #142 2017-07-27 19:08:41 -04:00
Justin Ethier
b8ed7225c0 Issue #142 - Statically allocate closure0
Statically allocate closure0 objects since they are immutable and contain no free variables, so all copies of them would be identical.
2017-07-27 18:59:46 -04:00
Justin Ethier
ed71f4f0de Experimenting with GC strategies for the "rest" heap 2017-07-27 14:07:44 +00:00
Justin Ethier
79e3279b85 Issue #207 2017-07-27 11:44:53 +00:00
Justin Ethier
e8aa42e247 Issue #207 - Added comments 2017-07-27 11:43:49 +00:00
Justin Ethier
67ca9edbec WIP 2017-07-26 19:02:31 -04:00
Justin Ethier
a758111aad Issue #207 - Added constant folding 2017-07-26 14:52:03 +00:00
Justin Ethier
6e6a4239a4 Bug fixes 2017-07-21 13:39:55 +00:00
Justin Ethier
b8d2fda060 WIP 2017-07-21 13:03:54 +00:00
Justin Ethier
f0acc9c810 WIP 2017-07-20 18:57:27 -04:00
Justin Ethier
acb797e323 WIP - Experimenting with REST heap allocation 2017-07-20 17:46:08 +00:00
Justin Ethier
07df5b03c5 Debug output for sizes of allocated objs 2017-07-20 13:15:20 +00:00
Justin Ethier
5112aa9f46 Do not precompute user defined prim 2017-07-19 18:02:20 -04:00
Justin Ethier
eb4a4b9aff Consistent style 2017-07-19 17:54:08 -04:00
Justin Ethier
4011cdb601 Spelling fix 2017-07-19 16:36:05 +00:00
Justin Ethier
3fcd455189 Fixes to mark_stack_or_heap_obj
- Detect value types and return early
- Attempt to lock less often
2017-07-19 16:16:40 +00:00
Justin Ethier
f2db6235e0 Issue #206 - Fix cyc-seq, and only do it as an optimization 2017-07-18 17:41:33 -04:00
Justin Ethier
a8c5c559d3 Issue #182 2017-07-18 17:09:55 +00:00
Justin Ethier
03da56a11f Issue #182 - string->number fails with #f
Per spec, #f should be returned for a conversion failure. Previously certain bases were returning 0 instead.
2017-07-18 17:07:59 +00:00
Justin Ethier
6ff6e2d92e WIP 2017-07-18 16:42:25 +00:00
Justin Ethier
a30b03767f Revert for now 2017-07-18 13:08:16 +00:00
Justin Ethier
dd1f701d54 Export c-compile-program 2017-07-18 13:06:39 +00:00
Justin Ethier
89c58f8b44 Omit C meaningless expressions
When compiling Cyc-seq expressions there are cases where the generated C code would have no effect. Just omit it in this case to prevent a warning from the C compiler.
2017-07-13 10:35:10 +00:00