Commit graph

50 commits

Author SHA1 Message Date
Justin Ethier
4db3b681c1 Added ER renaming example 2015-08-26 19:15:45 -04:00
Justin Ethier
fcf8d45ad0 Tweaked tests 2015-08-25 23:29:41 -04:00
Justin Ethier
32bf682db7 Fixed code that expands eval'd macros, general cleanup 2015-08-25 22:50:16 -04:00
Justin Ethier
cbcffd2451 Allow expanding interpreted macro from within another 2015-08-22 01:43:24 -04:00
Justin Ethier
6cf2a6a4af WIP 2015-08-21 21:40:26 -04:00
Justin Ethier
4f006d742f WIP 2015-08-21 20:30:39 -04:00
Justin Ethier
43b61de378 Added notes for macros inside macros 2015-08-14 22:15:03 -04:00
Justin Ethier
cbe806a168 Added more test cases 2015-08-14 21:37:33 -04:00
Justin Ethier
5f1f34e70c Removed duplicate definition of 'or' 2015-08-14 18:16:02 -04:00
Justin Ethier
82e908d670 First successful test importing macro from compiled lib 2015-08-14 01:53:14 -04:00
Justin Ethier
ca739ab9d0 Setup to use macro from test library 2015-08-14 01:49:34 -04:00
Justin Ethier
3608c2aeda WIP 2015-08-13 02:18:03 -04:00
Justin Ethier
da3d53340b Added comments 2015-08-13 00:48:27 -04:00
Justin Ethier
e69c21eb16 Compile macros as the macro_type 2015-08-11 22:50:30 -04:00
Justin Ethier
233d166e02 Compiling macros to C 2015-08-10 22:51:57 -04:00
Justin Ethier
327941b980 Removed debug code 2015-08-06 21:44:08 -04:00
Justin Ethier
9443f92fe2 Tweak lambda eval 2015-08-07 02:02:07 -04:00
Justin Ethier
9c447a384a WIP - macros 2015-08-06 22:03:54 -04:00
Justin Ethier
cbb969221a WIP - eval/lambda 2015-08-05 22:01:43 -04:00
Justin Ethier
8c3d5347ab WIP, trying to understand why macro is failing 2015-08-04 23:04:39 -04:00
Justin Ethier
d4b4bbd7fb Added macros module 2015-08-04 21:48:26 -04:00
Justin Ethier
ad0c7e4b74 Added Cyc-read-line 2015-07-29 22:56:11 -04:00
Justin Ethier
f94b984f67 WIP - string-set! 2015-07-27 22:42:39 -04:00
Justin Ethier
41cda2de8b WIP 2015-07-27 22:29:42 -04:00
Justin Ethier
c0e6c7e297 Attempting to use Cyc_make_vector instead of make_vector 2015-07-28 01:59:08 -04:00
Justin Ethier
2d8c6ed5f3 Added basic call history reporting 2015-07-13 21:46:21 -04:00
Justin Ethier
384a5ce0fe Added hooks to runtime for call history.
Still need to log the actual calls at runtime.
2015-07-10 21:41:49 -04:00
Justin Ethier
74b5cc11b7 Export *trace-level* 2015-07-09 21:42:56 -04:00
Justin Ethier
6c20402e3a Need to figure out how to compile cgen with Cyc_procedure 2015-07-05 22:58:09 -04:00
Justin Ethier
d0e05c0fd3 Added code back 2015-07-02 22:50:36 -04:00
Justin Ethier
c8537e0e12 Added TODO 2015-07-03 01:27:17 -04:00
Justin Ethier
392637fe2c Simplified example code for self-hosted compiler 2015-07-03 01:26:00 -04:00
Justin Ethier
6e1e4b56be Allow primitives to take a continuation argument
Also stubbed out the command-line-args function as such.
2015-06-30 21:44:23 -04:00
Justin Ethier
1b2560f5a4 More notes regarding varargs 2015-06-29 21:07:28 -04:00
Justin Ethier
e19ad9230f WIP 2015-06-29 20:50:45 -04:00
Justin Ethier
44593b28af Added TODO regarding pure varargs 2015-06-29 18:09:23 -04:00
Justin Ethier
d4c27b9c63 Added a (when) macro 2015-06-29 17:59:14 -04:00
Justin Ethier
53b882d909 Added named let using chibi's macro 2015-06-28 16:06:13 -04:00
Justin Ethier
321995c914 (cond) now expands to #f if no clause matches 2015-06-24 21:44:55 -04:00
Justin Ethier
83e0a6e662 Compiler error when cond does not have else 2015-06-25 00:26:25 -04:00
Justin Ethier
7103f52f8b Added more I/O tests 2015-06-24 21:22:54 -04:00
Justin Ethier
39cb68cfae Finished (with-input-from-file) and (with-output-to-file) 2015-06-24 20:51:28 -04:00
Justin Ethier
b3229da15e Added missing parens... d'oh 2015-06-23 23:02:01 -04:00
Justin Ethier
a1f7e3a8ee Debugging using csi 2015-06-23 22:37:17 -04:00
Justin Ethier
dd4875d141 Testing 2015-06-23 21:56:22 -04:00
Justin Ethier
5f3b082e27 Setting stage for debugging issues with param objs 2015-06-23 21:36:44 -04:00
Justin Ethier
5a4cfea75c Debug 2015-06-23 21:25:50 -04:00
Justin Ethier
e4fd8b3387 Added TODO's 2015-06-23 21:12:04 -04:00
Justin Ethier
68fedae3ff Initial version of with-output-to-file, still needs debugging 2015-06-23 21:00:28 -04:00
Justin Ethier
ff634d8e18 Temporary test file 2015-06-23 20:46:30 -04:00