Commit graph

1325 commits

Author SHA1 Message Date
Justin Ethier
8fa6513571 Fix parens 2018-11-14 19:01:34 -05:00
Justin Ethier
a06d2793c8 Do not accumulate free vars from our local (let)'s 2018-11-14 18:22:51 -05:00
Justin Ethier
ef647082e6 WIP 2018-11-13 19:05:28 -05:00
Justin Ethier
67071a1761 WIP 2018-11-13 18:02:12 -05:00
Justin Ethier
d40dc538d9 Closure convert (let) local values 2018-11-13 18:01:54 -05:00
Justin Ethier
c4f75486b6 Added TODO 2018-11-13 17:57:44 -05:00
Justin Ethier
bad0d19424 WIP 2018-11-13 17:17:30 -05:00
Justin Ethier
04a3bb6c60 Fix splicing of let body 2018-11-13 17:17:16 -05:00
Justin Ethier
8c033a7909 Added TODO 2018-11-13 13:37:03 -05:00
Justin Ethier
89e633db26 Added clarifying comments 2018-11-13 12:57:55 -05:00
Justin Ethier
cde576aaa3 Keep vars in local let's during closure convert 2018-11-12 18:28:49 -05:00
Justin Ethier
78b12779af Remove write 2018-11-12 17:07:24 -05:00
Justin Ethier
82f9909951 Fix (set!) 2018-11-12 17:06:35 -05:00
Justin Ethier
e31b357f4c WIP 2018-11-12 16:30:11 -05:00
Justin Ethier
732535ab2f Split in define bodies, enable debug traces 2018-11-12 16:19:13 -05:00
Justin Ethier
94694fdd9e Renamed file 2018-11-12 12:02:34 -05:00
Justin Ethier
e34f783224 Added file header 2018-11-10 07:18:47 -05:00
Justin Ethier
d96314993d use new file 2018-11-10 07:03:37 -05:00
Justin Ethier
6f4900c0a0 Relocated file 2018-11-10 07:03:25 -05:00
Justin Ethier
74e56aeb2f Issue #280 - Cyc-add-feature! 2018-11-10 06:39:13 -05:00
Justin Ethier
70b1ac2e57 Revert experimental changes
These crash the earley benchmark
2018-11-09 15:41:55 -05:00
Justin Ethier
915ae74fe1 Issue #172 - Allow inline but check for (set!)'s first 2018-11-09 12:53:47 -05:00
Justin Ethier
a12ef15559 WIP - smarter inline analysis of vector-set 2018-11-07 18:08:09 -05:00
Justin Ethier
62a8110647 WIP 2018-11-07 13:36:25 -05:00
Justin Ethier
6da3367169 Do not sequence prims that call into conts 2018-11-01 18:24:43 -04:00
Justin Ethier
8aac3163af Cleanup, remove unused identifiers from sequences 2018-11-01 13:40:57 -04:00
Justin Ethier
5868cd448c Cleaner flattening now that code generation has been fixed 2018-11-01 13:20:20 -04:00
Justin Ethier
61d265c512 Splice in lambda body of cyc-seq 2018-11-01 13:09:42 -04:00
Justin Ethier
31e749bf5a Flatten nested Cyc-seq expressions. 2018-10-31 17:57:30 -04:00
Justin Ethier
7a5b03edd7 WIP 2018-10-30 18:09:00 -04:00
Justin Ethier
f2390130cc Added TODO 2018-10-30 17:52:49 -04:00
Justin Ethier
e883473885 Use pre-computed sexp 2018-10-30 13:20:11 -04:00
Justin Ethier
6f65432c2a WIP - Cyc-seq 2018-10-30 12:06:47 -04:00
Justin Ethier
2d4a5f0f44 WIP - sequencing expressions 2018-10-29 18:51:47 -04:00
Justin Ethier
149e10257c Remove debug trace 2018-10-26 13:19:52 -04:00
Justin Ethier
4824fc50ed Increased alloca support 2018-10-26 13:03:54 -04:00
Justin Ethier
6bc445e9ed Cleanup, check for proper index of "self" in clo 2018-10-25 18:27:14 -04:00
Justin Ethier
8bd87a8ef6 Refactoring 2018-10-25 17:42:02 -04:00
Justin Ethier
67698ec9a7 Added TODO 2018-10-25 17:47:49 -04:00
Justin Ethier
6577d9d462 Added find-closure-assigned-var-index! 2018-10-25 17:47:41 -04:00
Justin Ethier
a2d877717e Added self-closure-index 2018-10-25 17:42:35 -04:00
Justin Ethier
f68e335b8a Export all adbf functions 2018-10-25 17:34:12 -04:00
Justin Ethier
32b6426318 Check inner ref 2018-10-25 13:26:09 -04:00
Justin Ethier
6f47046be0 Properly reference closures 2018-10-24 22:43:32 -04:00
Justin Ethier
7e6ad07d9f Alloc closures as needed 2018-10-24 18:18:42 -04:00
Justin Ethier
c914d80e7f Pass params to continue_or_gc since already reassigned 2018-10-24 17:26:46 -04:00
Justin Ethier
02df0f9fb2 Re-enable iteration 2018-10-24 13:36:31 -04:00
Justin Ethier
c10d38e170 Support alloca of basic arithmetic operations 2018-10-24 13:29:34 -04:00
Justin Ethier
be5a5f1c6b WIP - optionally emit alloca-based prims 2018-10-24 13:17:44 -04:00
Justin Ethier
b2a981b7e5 WIP 2018-10-23 18:09:02 -04:00