Commit graph

63 commits

Author SHA1 Message Date
Justin Ethier
f23b89a05f Two fixes:
- Renamed 'Cyc-has-cycle?'
- Fixed Cyc_has_cycle to prevent an infinite loop
2015-03-25 21:58:02 -04:00
Justin Ethier
19ccf7cda3 Added remaining list/pair functions 2015-03-25 14:09:49 -04:00
Justin Ethier
c6e44a6156 Only define global if CYC_EVAL 2015-03-24 21:57:06 -04:00
Justin Ethier
aa1564eda8 Added (call/cc) to interpreter 2015-03-24 17:20:21 -04:00
Justin Ethier
d418ce265f has_cycle - remove comparisons for known dupe objs
Trying leaving out comparisons of objects that are expected to be equal such as value types, booleans, and symbols.
2015-03-24 15:53:54 -04:00
Justin Ethier
9ea8d0c778 Removed extraneous newlines 2015-03-24 15:43:21 -04:00
Justin Ethier
e73155586f Removed dead code 2015-03-23 22:22:39 -04:00
Justin Ethier
fd9b66f071 Proper formatting of (write) output 2015-03-23 21:58:30 -04:00
Justin Ethier
582524af81 Moving core exception handler code from C to Scheme 2015-03-21 22:01:14 -04:00
Justin Ethier
a46b5f18f8 Debugging ex handler integration with icyc 2015-03-20 23:25:50 -04:00
Justin Ethier
41c458c23f Allow (exit) to take no args 2015-03-20 11:14:26 -04:00
Justin Ethier
1d5409b4ae Initial version of (raise-continuable) 2015-03-19 22:20:12 -04:00
Justin Ethier
f819b9e055 WIP 2015-03-18 15:12:50 -04:00
Justin Ethier
35dd277080 WIP 2015-03-17 22:52:15 -04:00
Justin Ethier
6a27bd44ad WIP - raise 2015-03-17 22:32:52 -04:00
Justin Ethier
deff3e910d Experimenting with exception handler 2015-03-16 22:47:20 -04:00
Justin Ethier
dd7a8c1846 Stubbing out exception handling 2015-03-15 22:38:24 -04:00
Justin Ethier
f307504744 Tweaks to __halt 2015-03-13 23:46:38 -04:00
Justin Ethier
5bd3deefa1 Added (exit) 2015-03-13 23:42:41 -04:00
Justin Ethier
583b9297de Renamed write barrier to mutation table
This naming convention is more appropriate, and matches the scheme standards.
2015-03-13 16:51:31 -04:00
Justin Ethier
eb3dbfbfec Removed debug printf 2015-03-13 16:41:05 -04:00
Justin Ethier
a8bf11bf79 Extend GC to support mutations 2015-03-13 16:40:08 -04:00
Justin Ethier
30cf7b58a4 Disabling write barrier, not needed for pairs 2015-03-09 22:01:46 -04:00
Justin Ethier
d73f20ea4c Removed test code 2015-03-09 18:05:57 -04:00
Justin Ethier
8063fc61c0 WIP 2015-03-08 16:51:53 -04:00
Justin Ethier
abb56c5795 Experimenting with a write barrier 2015-03-08 16:15:51 -04:00
Justin Ethier
b886fd8871 Store printable name of primitives to improve display 2015-03-03 22:39:12 -05:00
Justin Ethier
1968983fe0 Improve printing of function types 2015-03-03 22:12:43 -05:00
Justin Ethier
4dff6070ce Use CYC_EVAL to selectively include eval code 2015-03-03 21:07:20 -05:00
Justin Ethier
e6aea0c388 Refactoring 2015-03-03 20:41:37 -05:00
Justin Ethier
917c6c00b3 Fix to cyc_display
Print ellipsis with a lambda received from interpreter, as an inidication there is more that is not being displayed
2015-03-03 13:33:39 -05:00
Justin Ethier
c2dfdf39d5 WIP - exec lambdas from interpreter 2015-03-02 22:51:18 -05:00
Justin Ethier
651f6b0c7a WIP 2015-03-02 15:20:38 -05:00
Justin Ethier
dd976cbb76 WIP - experimental eval 2015-03-02 13:58:05 -05:00
Justin Ethier
2109ea1483 Setting stage for eval interpreted func from compiled code 2015-03-01 23:03:50 -05:00
Justin Ethier
7c647e0eb1 Relocated primitive defs to avoid compilation err 2015-02-27 17:31:39 -05:00
Justin Ethier
06cc7643f0 Dispatch more args 2015-02-27 17:13:37 -05:00
Justin Ethier
8c64f6ae0b Added autogenerated defprims 2015-02-27 13:30:29 -05:00
Justin Ethier
531fcca9b0 Added (error) to interpreter 2015-02-26 22:41:42 -05:00
Justin Ethier
8e059f2315 Unify dispatch of closures/varargs 2015-02-26 22:10:20 -05:00
Justin Ethier
79911e0696 TODO 2015-02-26 17:03:10 -05:00
Justin Ethier
b36f0a8237 Proof-of-concept for va dispatch 2015-02-26 17:00:49 -05:00
Justin Ethier
077c909bb8 WIP 2015-02-25 23:01:43 -05:00
Justin Ethier
03d5aef9e3 Call function directly in dispatch() 2015-02-25 22:35:12 -05:00
Justin Ethier
ea1b1b00c2 Added most of the remaining prims 2015-02-25 18:05:21 -05:00
Justin Ethier
e62ee3f742 Added prims 2015-02-25 17:51:31 -05:00
Justin Ethier
6da4067027 Condensed missing prims 2015-02-25 15:53:01 -05:00
Justin Ethier
9ef6daee83 Added more missing primitives 2015-02-25 14:00:48 -05:00
Justin Ethier
503679b499 Removed dead code 2015-02-25 13:45:57 -05:00
Justin Ethier
7b313f0838 Added more primitives to (apply) 2015-02-25 13:41:07 -05:00