Commit graph

1531 commits

Author SHA1 Message Date
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
c82e69a997 Added import-shared-object 2021-02-23 15:18:38 -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
Arthur Maciel
1d1cd8d61f Unless/when don't have alternate clause 2021-01-22 22:25:29 -03:00
Justin Ethier
eb3250c0f1 Issue #365 - Added (c-compiler-options) expression for libs 2021-01-18 10:46:03 -05:00
Justin Ethier
c18ca25ad9 Issue #412 - Support cond-expand when importing deps 2021-01-03 23:09:16 -05:00
Justin Ethier
5a86b70a7b Bump to 2021 2021-01-03 22:05:58 -05:00
Justin Ethier
87f8868da3 Bump release number 2021-01-02 17:40:27 -05:00
Justin Ethier
b218aacf65 Clean up cruft 2020-12-22 17:03:37 -05:00
Justin Ethier
a5fb3b1b14 Allow (vector?) to recognize and disregard record types 2020-12-21 23:00:43 -05:00
Justin Ethier
cc3c8f5bac WIP refactoring record marker
Idea here is to use a new record marker that is guaranteed to be unique and that will be faster to compare against in the C runtime.
2020-12-21 21:50:07 -05:00
Justin Ethier
bf985615bc Compile record marker objs 2020-12-20 22:51:49 -05:00
Justin Ethier
2c5d9eeb8d Added record-marker2 2020-12-20 22:46:27 -05:00
Sean Lynch
623f59a84d Fix a crash in record predicates
Ensures that the argument to a record predicate has enough items to be a
record before checking for the record-marker and type name.
2020-12-19 12:19:25 -08:00
Justin Ethier
4b3e874f20 Stage next release 2020-12-02 09:44:57 -05:00
Justin Ethier
14e9011552 Bump version 2020-11-19 15:09:25 -05:00
Justin Ethier
66dd53985b Issue #412 - Include expander in call 2020-09-28 13:36:29 -04:00
Justin Ethier
6a1377178a Issue #412 - Fix expand within a cond-expand
Allow these dependencies to be recognized by Cyclone.
2020-09-28 13:32:13 -04:00
Justin Ethier
f0bf9fc1d4 Issue #412 - Handle all cond-expand's
This change allows libraries to expand properly when cond-expand contains multiple sub-expressions. Previously it only worked properly if the sub-expressions were begin's.
2020-09-27 22:12:28 -04:00
Justin Ethier
05d65b15b0 Issue #411 - Treat null/improper lists as consts 2020-09-22 23:04:28 -04:00
Justin Ethier
05fc6fb8ed Rev++ 2020-09-17 17:58:49 -04:00
Justin Ethier
d18b776fa2 Updated force to recursively force promises. 2020-09-15 12:42:02 -04:00
Justin Ethier
5fbdc54628 More robust version of (scheme lazy) 2020-09-09 22:28:00 -04:00
Justin Ethier
82d7c56def Finish TODO 2020-09-02 18:31:39 -04:00
Justin Ethier
f086955059 Added TODO 2020-09-02 18:14:01 -04:00
Justin Ethier
dc30dba735 Expand library before reading imports 2020-09-02 18:10:41 -04:00
Justin Ethier
26a7542d18 Enclose (include) code in (begin) 2020-09-01 18:57:23 -04:00
Justin Ethier
857c98fb87 Expand contents of cond-expand with a begin context 2020-08-29 19:16:19 -04:00
Justin Ethier
ea2f44a318 Increase version 2020-08-19 10:05:21 -04:00
Justin Ethier
e257b009c4 Merge branch 'master' of github.com:justinethier/cyclone 2020-08-18 22:14:24 -04:00
Justin Ethier
746d308a75 Fix regression in is-a? 2020-08-18 22:14:09 -04:00
Justin Ethier
36b9489507 Cleanup error message on invalid type 2020-08-17 18:15:44 -04:00
Justin Ethier
ed167c71c1 Issue #402 - Type check record type getter/setter 2020-08-17 18:01:43 -04:00
Justin Ethier
91184d982d Bump to 0.20 2020-08-14 16:56:30 -04:00
Justin Ethier
bbbe9ecd40 Warn if not enough args passed 2020-08-01 18:30:24 -04:00
Justin Ethier
365b19fca7 Issue #398 - Support for all anonymous lambda's 2020-07-30 18:57:12 -04:00
Justin Ethier
ffdeaa96e3 Added (drop) 2020-07-30 18:57:00 -04:00
Justin Ethier
2a6ba9bee4 Convert anonymous pure vars
Express these functions using a "regular" lambda since the arguments are well-known. This prevents issues further downstream and should generate faster code as well.
2020-07-30 17:43:25 -04:00
Justin Ethier
ab4f21fcc8 Issue #355 - Import renamed identifiers
Ensure renamed identifiers are loaded into the environment when performing an import.
2020-07-28 17:49:44 -04:00
Justin Ethier
b350a0cf33 Prevent overwritting evn's when importing from repl 2020-07-27 17:53:31 -04:00
Justin Ethier
152a210619 Cleanup (scheme write) imports, keep top env on import 2020-07-27 16:43:14 -04:00