Commit graph

233 commits

Author SHA1 Message Date
Justin Ethier
d40dc538d9 Closure convert (let) local values 2018-11-13 18:01:54 -05:00
Justin Ethier
04a3bb6c60 Fix splicing of let body 2018-11-13 17:17:16 -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
e31b357f4c WIP 2018-11-12 16:30:11 -05:00
Justin Ethier
94694fdd9e Renamed file 2018-11-12 12:02:34 -05:00
Justin Ethier
d96314993d use new file 2018-11-10 07:03:37 -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
61d265c512 Splice in lambda body of cyc-seq 2018-11-01 13:09:42 -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
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
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
eb2ab6b74a Added (self-closure-call? ast self) 2018-10-22 13:35:04 -04:00
Justin Ethier
b37cbc3106 Added calls-self to adbf 2018-10-18 17:56:06 -04:00
Justin Ethier
44efba7c6d Remove trace statements 2018-10-17 17:27:14 -04:00
Justin Ethier
95ba4aa554 WIP 2018-10-17 17:58:47 -04:00
Justin Ethier
2d5e75764f Added TODO 2018-10-17 15:54:14 -04:00
Justin Ethier
f110c1d219 WIP 2018-10-17 13:23:31 -04:00
Justin Ethier
bea7cfe242 Added (rec-call?) 2018-10-16 22:52:34 -04:00
Justin Ethier
54e32106f5 Remove debug trace 2018-10-01 12:26:11 -04:00
Justin Ethier
3b1f124b6a Check for prim:cont when known function is called via k 2018-09-27 17:32:04 -04:00
Justin Ethier
0a9cd2a6b7 Well-known lambdas cannot be called from runtime 2018-09-27 15:57:51 -04:00
Justin Ethier
7a8c4e45f6 Check scope when finding known lambdas
Want to ensure a lambda is not used in another function other than the one we thought was calling it directly, because if this happens it will become part of a closure and is not directly "known".
2018-09-26 17:39:35 -04:00
Justin Ethier
92fb2c176d WIP 2018-09-26 11:10:49 -04:00
Justin Ethier
62145ea95a Bugfix, forgot acc 2018-09-25 17:54:28 -04:00
Justin Ethier
bba1783a49 Added adb lambda id functions 2018-09-25 17:38:28 -04:00
Justin Ethier
5df8fd92ed Cleanup 2018-09-25 17:03:28 -04:00
Justin Ethier
7be8fe8f9a Added opt:renumber-lambdas! 2018-09-24 18:25:31 -04:00
Justin Ethier
edf3c0e87f Use default value to prevent raising an error 2018-09-24 13:38:02 -04:00
Justin Ethier
b3e4a9feb6 Fix storing of all params 2018-09-20 12:16:32 -04:00
Justin Ethier
b5248cb965 Set lambda args in adb 2018-09-19 18:35:09 -04:00
Justin Ethier
47da3d5be6 Added all-args to adbf 2018-09-19 17:45:22 -04:00
Justin Ethier
d0fccf44f8 Keep track of closure sizes 2018-09-18 17:50:17 -04:00
Justin Ethier
a9c5d5d268 WIP 2018-09-14 18:26:03 -04:00
Justin Ethier
6dfe91fdc6 Added cgen-id parameter 2018-09-14 18:20:08 -04:00
Justin Ethier
927856ec55 Export convenience functions 2018-09-14 18:00:19 -04:00
Justin Ethier
8f7b785ec3 Additional debugging 2018-09-14 12:36:05 -04:00
Justin Ethier
dbd1e4799f Integrate code for well-known lambdas 2018-09-14 12:07:34 -04:00