Commit graph

267 commits

Author SHA1 Message Date
Justin Ethier
8eb447d11b Added c-macro-return-direct-with-closure 2018-09-14 15:17:07 -04:00
Justin Ethier
c4de5b057e More ast lambda conversions 2018-09-11 17:34:04 -04:00
Justin Ethier
f8af9833e1 WIP 2018-09-11 12:47:58 -04:00
Justin Ethier
8b74b495fb WIP 2018-09-07 17:39:10 -04:00
Justin Ethier
941930af35 WIP - AST lambda integration 2018-09-06 18:55:43 -04:00
Justin Ethier
b8e9d39b28 Issue #260 - Fix C compiler issue with line label 2018-06-12 17:38:12 -04:00
Justin Ethier
0d53f329e9 Issue #260 - No loop on branches allocing closures 2018-06-08 17:21:27 -04:00
Justin Ethier
9c1ea32be0 First working version for takl loops 2018-06-07 21:58:52 -04:00
Justin Ethier
e80b83440e Add debug output 2018-06-07 17:52:08 -04:00
Justin Ethier
5622698cd3 Demonstrate pulling args from analysis DB 2018-06-07 13:49:34 -04:00
Justin Ethier
8fed2b738d Added TODO 2018-06-07 13:24:58 -04:00
Justin Ethier
a61ba42a1d Compile args separately 2018-06-07 13:23:04 -04:00
Justin Ethier
b3ea8324bd Added comments, cleanup 2018-06-06 19:00:06 -04:00
Justin Ethier
0d83580fd5 WIP 2018-06-06 18:37:18 -04:00
Justin Ethier
c4c22cfad8 WIP 2018-06-06 13:10:24 -04:00
Justin Ethier
66065bb127 Output loop label 2018-06-05 17:52:25 -04:00
Justin Ethier
f021e01277 Import cps-opt so we can use analysis DB 2018-06-04 17:49:28 -04:00
Justin Ethier
689a1d552a Issue #55 - Compile complex number literals 2018-05-11 16:06:39 -04:00
Justin Ethier
6441ce9409 Relocated macro expansion code 2017-11-28 18:46:48 -05:00
Justin Ethier
cfdec73d78 Emit strings with char/byte lengths 2017-11-06 18:57:56 +00:00
Justin Ethier
922eb69658 Relocated string-join and added string-split 2017-08-23 12:02:53 +00:00
Justin Ethier
e2e2232146 Added string split/join 2017-08-23 11:54:29 +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
8ba1954ac3 WIP 2017-07-07 18:44:13 -04:00
Justin Ethier
7bad122821 WIP 2017-07-07 17:47:24 +00:00
Justin Ethier
27970524c5 Generalization of globals_changed thread param 2017-06-09 17:17:01 +00:00
Justin Ethier
75b9e7bf8a Explicit inlines 2017-04-29 01:18:39 +00:00
Justin Ethier
6e1073387a Expose UDF inlines and original symbols 2017-04-24 23:03:09 +00:00
Justin Ethier
1c82f0e74a Add Scheme inlines to global inline list 2017-04-24 22:08:15 +00:00
Justin Ethier
62559ee2c0 No extra comma for inlined scheme functions 2017-04-19 00:54:01 +00:00
Justin Ethier
506a7e6136 Generate code using new return_copy macro 2017-04-18 20:36:05 +00:00
Justin Ethier
bd9119c274 WIP 2017-04-18 19:14:52 +00:00
Justin Ethier
021113ced4 Add cps param 2017-04-20 17:57:59 -04:00
Justin Ethier
f50aafffe4 WIP - starting to add cps parameter 2017-04-18 13:49:34 +00:00
Justin Ethier
2da2317a91 Rename param to "cps?" 2017-04-18 13:21:19 +00:00
Justin Ethier
b27dab456d WIP 2017-04-18 12:44:45 +00:00
Justin Ethier
68b8e1fc38 WIP 2017-04-18 10:53:30 +00:00
Justin Ethier
529585d92c Expose list of inlinable functions 2017-04-17 18:11:51 -04:00
Justin Ethier
08a960306c WIP 2017-04-17 17:46:39 +00:00
Justin Ethier
396888f1b8 Bug fixes for listing inlinables 2017-04-17 16:59:41 +00:00
Justin Ethier
3fbdbb2e72 WIP - output list of inlinable funcs 2017-04-17 14:22:27 +00:00
Justin Ethier
1a28889caf Emit inline functions as primitives 2017-04-04 08:14:39 +00:00
Justin Ethier
c7476fb1ed Emit code for define-c inlines 2017-04-03 21:58:45 +00:00
Justin Ethier
6d85b83240 WIP 2017-03-28 01:19:20 -04:00
Justin Ethier
24a2b63b7f Issue #185 - Ensure objects are moved during init
This prevents broken hearts by ensuring objects are in their final locations before assigning pointers to pointers.
2017-03-21 19:01:06 -04:00
Justin Ethier
c99e046517 Added TODO 2017-03-21 17:56:41 +00:00
Justin Ethier
78c253e1c3 Issue #185 - Allow export of another lib's export 2017-03-20 17:01:25 +00:00
Justin Ethier
470fb17465 Compile bignum consts 2017-02-17 18:28:32 +00:00