Commit graph

4250 commits

Author SHA1 Message Date
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
5752f6ace5 Added alloca_pair 2018-10-17 18:48:18 -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
80ac3ef86f Added notes 2018-10-05 17:32:28 -04:00
Justin Ethier
cb62cadf97 Initial file 2018-10-04 13:29:07 -04:00
Justin Ethier
6e33b6b26f WIP 2018-10-04 13:28:24 -04:00
Justin Ethier
5a0d685412 WIP 2018-10-04 11:12:13 -04:00
Justin Ethier
15b5789e8d Revert previous changed due to issues with SRFI 143
Unit tests fail with the previous change in place...
2018-10-04 11:11:16 -04:00
Justin Ethier
657c6c0dad WIP 2018-10-03 18:34:09 -04:00
Justin Ethier
5cdcf963af Bump to 0.9.4 2018-10-03 09:47:57 -04:00
Justin Ethier
b69f4f7233 Prevent segfault on ARM 2018-10-02 18:59:33 -04:00
Justin Ethier
2aaeababb9 WIP 2018-10-02 18:46:47 -04:00
Justin Ethier
ba994b9d36 Issue #278 - Fix compiler warning 2018-10-02 11:28:07 -04:00
Justin Ethier
5bfc61ccb3 Releasing 0.9.3 2018-10-01 17:05:57 -04:00
Justin Ethier
40efdc30b1 Issue #277 2018-10-01 17:21:16 -04:00
Justin Ethier
d9b0adc8c1 Issue #277 2018-10-01 17:05:52 -04:00
Justin Ethier
2f0537d6b1 Issue #262 2018-10-01 17:01:48 -04:00
Justin Ethier
9e0a5c77d3 Issue #262 2018-10-01 16:48:02 -04:00
Justin Ethier
db1cfb57b8 Staging file 2018-10-01 13:41:28 -04:00
Justin Ethier
ffb15e8d87 New test file 2018-10-01 13:21:01 -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