Justin Ethier
56610b7869
WIP - need to handle cont on the c thread
...
will probably need to use another setjmp/longjmp to be able to resume c_thread after scm call.
2020-08-12 19:03:53 -04:00
Justin Ethier
10630b4907
Allow optional thread cont arg
2020-08-12 18:49:02 -04:00
Justin Ethier
53b8644e5d
Relocate files
2020-08-11 19:02:05 -04:00
Justin Ethier
9b1c378e9e
Initial working version of "full" example
2020-08-11 19:00:03 -04:00
Justin Ethier
734f137832
Break out C files for GC example
2020-08-11 18:06:21 -04:00
Justin Ethier
fa5f630fa5
Refactoring
2020-08-11 11:53:20 -04:00
Justin Ethier
f737681ddf
Added complex example (not working yet)
2020-08-09 18:06:57 -04:00
Justin Ethier
51c15a3104
Initial file
2020-08-09 18:06:12 -04:00
Justin Ethier
a3fbe3154e
Rename sample application
2020-08-09 18:04:04 -04:00
Justin Ethier
bda81cec5b
Added more information
2020-08-09 17:49:10 -04:00
Justin Ethier
4560e115bd
Cleanup
2020-08-09 17:32:40 -04:00
Justin Ethier
8047da95d2
Allow compilation after refactoring
2020-08-07 19:51:08 -04:00
Justin Ethier
bfd2c8512d
Initial file
2020-08-07 19:46:33 -04:00
Justin Ethier
3d03684f1f
Cleanup
2020-08-07 19:45:29 -04:00
Justin Ethier
0bd2f85470
More cleanup
2020-08-07 19:39:19 -04:00
Justin Ethier
3b9daff384
Support mutex in the called Scheme code
2020-08-07 19:29:39 -04:00
Justin Ethier
c4f65c993d
Cleanup and refactoring
2020-08-07 18:56:37 -04:00
Justin Ethier
275fccd8a6
Add comments
2020-08-07 18:47:24 -04:00
Justin Ethier
5a20cd1207
Clean up
2020-08-07 18:38:20 -04:00
Justin Ethier
c3b87c0a36
Properly initialize param objects
2020-08-07 18:30:17 -04:00
Justin Ethier
fe47c23c92
WIP
2020-08-07 17:53:06 -04:00
Justin Ethier
a28b68c64a
Working example
2020-08-07 17:36:08 -04:00
Justin Ethier
973279e2ff
Example code builds, needs more debugging
2020-08-07 17:15:47 -04:00
Justin Ethier
55d2cd424a
WIP
2020-08-07 11:23:33 -04:00
Justin Ethier
8f00b39db1
Initial file
2020-08-07 10:34:04 -04:00
Justin Ethier
f6252d3185
Rev++
2020-08-02 18:13:50 -04:00
Justin Ethier
12df0754b5
Prep for 0.19 release
2020-08-02 18:09:50 -04:00
Justin Ethier
47fbe26611
Issue #398
2020-08-01 18:40:11 -04:00
Justin Ethier
e2b2d9b21d
Issue #398 - Added test cases
2020-08-01 18:37:56 -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
ff04774330
Update CHANGELOG.md
2020-07-28 23:08:41 -04:00
Justin Ethier
e81a28fe49
Update CHANGELOG.md
2020-07-28 23:06:47 -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
974ac8f2ab
Document fix for import in (scheme eval)
2020-07-27 18:21:21 -04:00
Justin Ethier
4de446f556
Qualify filename in error messages
2020-07-27 17:42:11 -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