Commit graph

1617 commits

Author SHA1 Message Date
Justin Ethier
d944eed23c Remove debug code 2021-03-14 21:09:12 -04:00
Justin Ethier
2ddabc9494 Omit assignments to unused local vars 2021-03-13 23:17:00 -05:00
Justin Ethier
ed21350bf5 Fix syntax issues 2021-03-13 23:05:32 -05:00
Justin Ethier
b6c5a9007a Experimental change to only emit assignments for used args
Having other compilation issues but want to get this checked in since we need this functionality
2021-03-13 22:54:39 -05:00
Justin Ethier
93a548e106 Allow multi-line legacy define-c arg lists 2021-03-09 22:36:35 -05:00
Justin Ethier
8a0986cb0b Ignore whitespace when checking for legacy define-c 2021-03-09 21:40:18 -05:00
Justin Ethier
524e6da427 Merge branch 'master' into cargs2-dev 2021-03-09 12:36:10 -05:00
Justin Ethier
87e941fcfa Fix formatting 2021-03-09 12:35:51 -05:00
Justin Ethier
e840c21648 Fix prototypes for define-c functions 2021-03-07 22:46:58 -05:00
Justin Ethier
639b9f29ef Fix typo 2021-03-06 23:00:38 -05:00
Justin Ethier
eca1956400 Merge remote-tracking branch 'origin/master' into cargs2-dev 2021-03-06 21:37:23 -05:00
Justin Ethier
d0ba3678a5 Merge branch 'master' of github.com:justinethier/cyclone 2021-03-05 18:26:31 -05:00
Justin Ethier
6c99e95ddb
Merge pull request #452 from arthurmaciel/master
Cleaned-up timing code
2021-03-05 22:23:29 -05:00
Arthur Maciel
535f2737b1 Cleaned-up timing code 2021-03-05 22:57:33 -03:00
Justin Ethier
e47ec999a9 Prep next release 2021-03-05 18:26:13 -05:00
Justin Ethier
6be391a927 Prep 0.27 release 2021-03-05 17:04:08 -05:00
Justin Ethier
ee11bc0ab0 Merge branch 'master' into cargs2-dev 2021-03-04 22:58:11 -05:00
Justin Ethier
2880301d69 Issue #450 - Updated the runtime to avoid a race condition when creating new symbols 2021-03-04 18:02:48 -05:00
Justin Ethier
39c93e33be
Merge pull request #451 from arthurmaciel/master
@arthurmaciel Moved from gettimeofday() to the more precise clock_gettime()
2021-03-03 21:20:51 -05:00
Justin Ethier
d874c05266 Issue #449 - Selectively disable optimizations
Memoize optimizations are not compatible with top-level define-c forms, so for now we disable these optimizations in this situation.
2021-03-02 22:30:49 -05:00
Arthur Maciel
e4eae1cdf9 Moved from gettimeofday() to the more precise clock_gettime() 2021-03-01 23:20:00 -03:00
Arthur Maciel
0ff0561ac9 Moved from gettimeofday() to the more precise clock_gettime() 2021-03-01 23:15:08 -03:00
Arthur Maciel
5fb3d69560 Moved from gettimeofday() to the more precise clock_gettime() 2021-03-01 23:13:59 -03:00
Justin Ethier
209050b2d4 Allow C compiler/linker options from a library to be expanded via cond-expand 2021-02-25 22:43:19 -05:00
Justin Ethier
085860ac51 Merge branch 'master' into cargs2-dev 2021-02-23 15:20:47 -05:00
Justin Ethier
c82e69a997 Added import-shared-object 2021-02-23 15:18:38 -05:00
Justin Ethier
5ff682a592 Remove Cyc-list, seems unused 2021-02-19 10:19:32 -05:00
Justin Ethier
496387293f Merge branch 'cargs-dev' into cargs2-dev 2021-02-15 21:21:15 -05:00
Justin Ethier
c22bb4898d Backwards compatibility for define-c expressions 2021-02-15 15:06:11 -05:00
Justin Ethier
81e0f82046 Fix order of arguments 2021-02-11 23:02:20 -05:00
Justin Ethier
8b8af34390 Cleanup and fix syntax errors 2021-02-11 18:07:54 -05:00
Justin Ethier
9df5665dab Add missing semicolon 2021-02-11 15:12:15 -05:00
Justin Ethier
fc39cacbb3 varargs bug fixes, and cleanup 2021-02-11 14:45:26 -05:00
Justin Ethier
c77cfcd6f7 unpack varargs 2021-02-10 22:28:21 -05:00
Justin Ethier
95f8a17124 WIP - varargs 2021-02-10 17:49:12 -05:00
Justin Ethier
f7fe5dbf11 Unpack args array 2021-02-09 22:39:57 -05:00
Justin Ethier
d162dd8fbc WIP - unpacking args 2021-02-09 17:38:49 -05:00
Justin Ethier
f428d2c4de WIP 2021-02-08 17:17:51 -05:00
Justin Ethier
71793eca9c Issue #445 - Do not inline prims that open ports
It is dangerous to inline these operations because the resource may be opened multiple times and/or not closed properly.
2021-02-05 17:01:01 -05:00
Justin Ethier
b471e6fcd0 Fix broken optimizations 2021-02-03 21:43:27 -05:00
Justin Ethier
ea9795cc54 Rev++ 2021-02-03 21:43:17 -05:00
Justin Ethier
9447dc9b05 Fix pretty printing of record types 2021-02-03 17:43:26 -05:00
Justin Ethier
02fdcd2532 WIP 2021-02-02 22:58:00 -05:00
Justin Ethier
bf1d1e89e3 Revert changes to string-byte-length
This allows us to run the module in the compiler right now
2021-02-02 22:21:43 -05:00
Justin Ethier
ea85c89268 Use new calling conventions for macros 2021-02-02 17:46:33 -05:00
Justin Ethier
f624e68a33 WIP 2021-02-01 23:02:08 -05:00
Arthur Maciel
1d1cd8d61f Unless/when don't have alternate clause 2021-01-22 22:25:29 -03:00
Justin Ethier
6fc1966f7b Issue #193 - WIP converting functions 2021-01-21 23:04:06 -05:00
Justin Ethier
2afd1b48b7 Use new signature for CPS prototypes 2021-01-20 22:51:54 -05:00
Justin Ethier
eb3250c0f1 Issue #365 - Added (c-compiler-options) expression for libs 2021-01-18 10:46:03 -05:00