Commit graph

556 commits

Author SHA1 Message Date
Justin Ethier
d18cc7f23a Thrown an error if file cannot be opened. 2015-07-09 22:16:30 -04:00
Justin Ethier
74b5cc11b7 Export *trace-level* 2015-07-09 21:42:56 -04:00
Justin Ethier
e075759e6b Comment on -t issue 2015-07-10 00:41:14 -04:00
Justin Ethier
0aac17a51b More self-hosting TODO's 2015-07-09 21:47:33 -04:00
Justin Ethier
b7c11fc8ed Use for-each to call c-compile-program
Use for-each instead of map as this guarantees execution order. Which is important since c-compile-program has side-effects.
2015-07-09 21:25:59 -04:00
Justin Ethier
6569106c1a WIP 2015-07-08 23:03:12 -04:00
Justin Ethier
8fcb17f300 WIP 2015-07-08 22:53:56 -04:00
Justin Ethier
558a51f424 Avoid segfaults 2015-07-07 22:51:22 -04:00
Justin Ethier
3b00954d94 Added header comments, tweaks 2015-07-07 22:33:57 -04:00
Justin Ethier
378cb2749a Bootstrapping 2015-07-07 22:04:16 -04:00
Justin Ethier
179738ca6e WIP 2015-07-07 21:35:05 -04:00
Justin Ethier
9d6e3d7acb WIP - bootstrap 2015-07-07 21:34:07 -04:00
Justin Ethier
822cf7ff68 Starting bootstrap process 2015-07-07 21:30:13 -04:00
Justin Ethier
48c66be292 Added temporary file 2015-07-07 21:27:59 -04:00
Justin Ethier
783f85e439 Removed 'Cyc_procedure as it is unnecessary 2015-07-07 21:12:14 -04:00
Justin Ethier
1fb0ae623b WIP 2015-07-06 22:59:07 -04:00
Justin Ethier
40bc76ac65 Added TODO 2015-07-07 01:55:15 -04:00
Justin Ethier
0724483c8e Added all files to self2 directive 2015-07-07 01:51:29 -04:00
Justin Ethier
f4b5cd4e20 Removed debug code 2015-07-06 23:39:55 -04:00
Justin Ethier
602295e29c Fix to Cyc_is_reserved_symbol() 2015-07-06 23:39:14 -04:00
Justin Ethier
370af953c7 Attempting to fix issues with Cyc_procedure 2015-07-06 22:28:34 -04:00
Justin Ethier
9562137f34 Stubbing-out Cyc-reserved-symbol? 2015-07-06 22:13:23 -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
9d16dc9426 Added GC TODO's 2015-07-03 23:29:13 -04:00
Justin Ethier
6c40a29d5d Upgrade to major GC if data heap exceeds limit 2015-07-03 23:27:24 -04:00
Justin Ethier
d0e05c0fd3 Added code back 2015-07-02 22:50:36 -04:00
Justin Ethier
1f1e3f4d59 Fix when macro to output all of body 2015-07-02 22:27:32 -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
1615794d99 Bugfixes 2015-07-02 21:40:55 -04:00
Justin Ethier
ff6b2f2eeb Include invalid escape char in error message 2015-07-02 21:25:34 -04:00
Justin Ethier
0a63384080 Note about stack traces 2015-07-02 21:11:20 -04:00
Justin Ethier
f63df9fd12 Self-hosted version compiles now, but is very broken... 2015-07-01 22:58:36 -04:00
Justin Ethier
a6da96ba57 Refactoring functions out of common.scm 2015-07-01 22:19:30 -04:00
Justin Ethier
cb55609c19 Use single version of primitives 2015-07-01 21:46:21 -04:00
Justin Ethier
10b9cbb7fd Use single version of (if?) 2015-07-01 21:21:49 -04:00
Justin Ethier
d6d1b31521 Use common tagged-list? function 2015-07-01 21:00:27 -04:00
Justin Ethier
78de607312 Make tagged-list? consistent 2015-06-30 22:41:25 -04:00
Justin Ethier
cd3917e80e Return value from (exit) 2015-06-30 22:34:11 -04:00
Justin Ethier
1cc957a6d8 Fixed up command-line-args 2015-06-30 19:56:52 -04:00
Justin Ethier
6489cb3c7f WIP 2015-07-01 01:48:00 -04:00
Justin Ethier
cf0b0b1560 Save argc/argv for later 2015-07-01 01:47:50 -04:00
Justin Ethier
540518dbc8 Added TODO for cmd line args 2015-06-30 21:46: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
a6f7f10b28 Tweaks to fix build - perhaps this was broken by "self"? 2015-06-30 21:44:01 -04:00
Justin Ethier
a9e9a1f90b Possible global var for cmd line args 2015-06-29 22:59:37 -04:00
Justin Ethier
8f32841878 Added (string-ref) and a stub for (command-line-arguments) 2015-06-29 22:08:30 -04:00
Justin Ethier
34c173450a Added self directive 2015-06-30 00:29:19 -04:00
Justin Ethier
ce7c4dc9a9 WIP - compilation of main module 2015-06-30 00:26:46 -04:00
Justin Ethier
d41e5b0d46 Fixed-up compiler TODO's 2015-06-29 21:38:31 -04:00