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
Justin Ethier
d1630c6a4f
Allow (load) to read source location information
2020-07-23 15:52:36 -04:00
Justin Ethier
7dd6ddfc71
Make error messages with location info consistent
2020-07-23 12:44:12 -04:00
Justin Ethier
7b079d36d3
Pretty-up the top-level error messages
...
Make the output more readable when we have location information for the error.
2020-07-23 12:38:01 -04:00
Justin Ethier
e6d654b4a4
Prevent line number info from being added twice
...
Since we now call error/loc in the macro expander, it is possible we are double-calling it if a macro is also calling it directly to report a syntax error. We need to detect that case and only add location information (line, column, filename) if it has not already been added to the error message.
2020-07-23 12:23:42 -04:00
Justin Ethier
1670670968
WIP, universal macro exception handler
2020-07-23 12:10:24 -04:00
Justin Ethier
c37e8dfad9
Allow passing more args to error/loc
2020-07-22 22:54:07 -04:00
Justin Ethier
6d30e7449b
Include source location in error messages
2020-07-21 23:05:32 -04:00
Justin Ethier
0d25e5e122
Clean up error messages, provide filename if able
2020-07-21 22:35:47 -04:00
Justin Ethier
de1a97fbe7
Cleanup
2020-07-21 21:45:26 -04:00
Justin Ethier
7794cbd98f
Allow (include) to read line information
2020-07-21 12:42:50 -04:00
Justin Ethier
f5cf3b57ee
Issue #353 - Report location info with syntax errors
2020-07-20 18:49:48 -04:00
Justin Ethier
1ff14cf605
Issue #353 - Clean up error reporting
2020-07-20 18:35:57 -04:00
Justin Ethier
f3c9874e29
WIP
2020-07-20 14:52:46 -04:00
Justin Ethier
858cac4eee
Relocating source list to (scheme base)
2020-07-19 22:58:01 -04:00
Justin Ethier
f4ac3c7cb7
WIP
2020-07-17 23:34:46 -04:00
Justin Ethier
cb08f60ec2
Added code to test location storage
2020-07-17 22:23:02 -04:00
Justin Ethier
a4421267e4
Build out infrastructure to save source info
...
Need to be able to save source object / line number data so we can use it for compiler error messages.
Trying to be careful not to make this hurt performance too much.
2020-07-16 23:10:48 -04:00
Justin Ethier
7751464294
Added TODO's, start to flesh out changes
2020-07-15 23:01:51 -04:00
Justin Ethier
f0aa3343b7
Issue #363 - Explicitly call halt for programs.
...
This avoids issues with invoking the continuation for `set!` expressions on the last line of a program.
2020-07-09 13:17:39 -04:00
Justin Ethier
0ce773266d
Version bump to 0.19
2020-06-12 11:57:59 -04:00
Justin Ethier
346a6e4bd5
Issue #369 - Switch over to multi-arg string cmp
2020-06-04 22:48:17 -04:00
Justin Ethier
5bb83cbfc6
Added stub
2020-06-03 19:08:23 -04:00
Justin Ethier
6ace99f5bb
Issue #369 - Switch out inline string cmp ops
2020-06-03 18:52:59 -04:00
Justin Ethier
dba2183191
Avoid use of string-set
2020-06-01 23:12:23 -04:00
Justin Ethier
5081d79dbd
Merge pull request #382 from arthurmaciel/remove-array-list
...
Removed all traces of array-list from core
2020-05-26 21:41:12 -04:00
Arthur Maciel
1a76af8d9e
Removed all traces of array-list from core
2020-05-26 21:09:14 -03:00
Justin Ethier
972b896e2b
Add placeholder
2020-05-25 18:57:55 -04:00
Justin Ethier
cf3d2163e4
Add placeholder
2020-05-25 18:56:58 -04:00
Justin Ethier
d7abe4f8f5
Issue #380 - Support optional args to write-string
2020-05-25 18:20:39 -04:00
Justin Ethier
3dc451d016
eqv? behavior per R7RS
2020-05-21 18:12:54 -04:00