Commit graph

3525 commits

Author SHA1 Message Date
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
Justin Ethier
856f201eb0 Optimize negation 2017-07-12 12:07:41 +00:00
Justin Ethier
d78a516138 WIP - experimental optimization 2017-07-11 18:53:06 -04:00
Justin Ethier
c817d447b9 Initial file 2017-07-10 14:22:46 +00:00
Justin Ethier
b913edcc9f Experimenting with inline of Cyc_is_pair 2017-07-10 13:48:44 +00:00
Justin Ethier
37d510a41f Only use Cyc-seq for non-CPSing arguments 2017-07-10 13:26:30 +00:00
Justin Ethier
8ba1954ac3 WIP 2017-07-07 18:44:13 -04:00
Justin Ethier
7bad122821 WIP 2017-07-07 17:47:24 +00:00
Justin Ethier
8ed042573a WIP, eliminating more unused lambda's 2017-07-07 14:14:16 +00:00
Justin Ethier
2fd88a15e6 Relocate closure conversion 2017-07-07 13:03:30 +00:00
Justin Ethier
148edd15a7 Testing 2017-07-06 17:15:25 +00:00
Justin Ethier
2fc2fa3326 Testing 2017-07-01 20:30:26 -04:00
Justin Ethier
fc45a93ebd WIP 2017-07-01 19:36:51 -04:00
Justin Ethier
af7fe0db87 Create CODE_OF_CONDUCT.md 2017-07-01 22:49:01 -04:00
Justin Ethier
59214a64f1 Rev 2017-07-01 18:46:59 -04:00
Justin Ethier
13c30a344d WIP, not much here yet 2017-07-01 18:42:59 -04:00
Justin Ethier
8f407710e8 Issue #202 2017-07-01 18:10:31 -04:00
Justin Ethier
e1c0fdfd3d Issue #202 - Document -A / -I options 2017-07-01 18:09:20 -04:00
Justin Ethier
55e9aab6b9 Merge remote-tracking branch 'origin/master' 2017-07-01 17:56:48 -04:00
Justin Ethier
d65e7428b9 Issue #202 - Allow -A / -I options for icyc 2017-07-01 17:56:09 -04:00
Justin Ethier
83b46c32d0 Renaming 2017-06-30 16:21:50 +00:00
Justin Ethier
81a96d1e53 Testing 2017-06-30 14:13:24 +00:00