Commit graph

1191 commits

Author SHA1 Message Date
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
Justin Ethier
49c2c093fd Reassign args when doing C iteration
Reassign arguments when optimizing to use C iteration in place of recursive function calls.
2018-10-23 13:31:01 -04:00
Justin Ethier
d0564e991e WIP 2018-10-23 12:16:33 -04:00
Justin Ethier
c39183500a WIP 2018-10-23 12:03:52 -04:00
Justin Ethier
1989d32664 Added continue_or_gc macros 2018-10-23 11:33:05 -04:00
Justin Ethier
870a9a9763 Added TODO 2018-10-22 17:28:25 -04:00
Justin Ethier
fb8de77d37 Detect actual recursive calls 2018-10-22 17:16:25 -04:00
Justin Ethier
8930d9c8df Added TODO 2018-10-22 13:35:33 -04:00
Justin Ethier
eb2ab6b74a Added (self-closure-call? ast self) 2018-10-22 13:35:04 -04:00
Justin Ethier
c1e8996ddd Added TODO 2018-10-22 13:34:16 -04:00
Justin Ethier
88f0db1547 Fix TODO 2018-10-19 13:33:47 -04:00
Justin Ethier
23aaae8f05 WIP 2018-10-19 13:23:18 -04:00
Justin Ethier
b37cbc3106 Added calls-self to adbf 2018-10-18 17:56:06 -04:00
Justin Ethier
5f760e4a2c Use alloca_pair instead of make_pair for literals 2018-10-18 13:10:32 -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
5cdcf963af Bump to 0.9.4 2018-10-03 09:47:57 -04:00
Justin Ethier
d9b0adc8c1 Issue #277 2018-10-01 17:05:52 -04:00
Justin Ethier
54e32106f5 Remove debug trace 2018-10-01 12:26:11 -04:00
Justin Ethier
ad6e2c5f78 Added return_direct_with_clo and return_direct_with_obj 2018-09-28 11:53:54 -04:00
Justin Ethier
03b4f21b66 Make it easier to enable/disable WKL 2018-09-27 17:49:04 -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
e49a319ec6 Enable well-known-function code 2018-09-26 13:18:52 -04:00
Justin Ethier
31e99da295 Bugfix - swap when we use num-lambda 2018-09-26 12:25:08 -04:00
Justin Ethier
92fb2c176d WIP 2018-09-26 11:10:49 -04:00
Justin Ethier
ea7f401e77 Use ast lambda ID's in C code 2018-09-25 18:43:18 -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
cb9d143187 WIP 2018-09-25 17:42:19 -04:00
Justin Ethier
32c8ad1949 WIP, added TODO's 2018-09-25 17:12:26 -04:00