Commit graph

530 commits

Author SHA1 Message Date
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
Justin Ethier
6f9569fcea Revised self-hosting section 2015-06-29 21:33:41 -04:00
Justin Ethier
71bdd86d9a Added case macro 2015-06-29 21:33:30 -04:00
Justin Ethier
e7671ccf16 Added (any) and (every) 2015-06-29 21:33:13 -04:00
Justin Ethier
7b1092e27a Fixes for self-hosting 2015-06-29 21:16:43 -04:00
Justin Ethier
1b2560f5a4 More notes regarding varargs 2015-06-29 21:07:28 -04:00
Justin Ethier
96e777743c Bugfixes for pure varargs
More is still needed, but this is enough to at least get the compiler to build.
2015-06-29 21:06:49 -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
667092ee12 Export *primitives* for cgen 2015-06-29 18:00:11 -04:00
Justin Ethier
d4c27b9c63 Added a (when) macro 2015-06-29 17:59:14 -04:00
Justin Ethier
63669620de Added necessary includes 2015-06-28 16:24:49 -04:00
Justin Ethier
53b882d909 Added named let using chibi's macro 2015-06-28 16:06:13 -04:00
Justin Ethier
0b2ac62b4f Added self-hosting TODO's 2015-06-26 22:41:09 -04:00
Justin Ethier
c3c4a12664 Added TODO 2015-06-26 21:14:58 -04:00
Justin Ethier
c49366aa97 TBD: named let 2015-06-26 21:13:09 -04:00
Justin Ethier
a370c2c91c Initial file 2015-06-26 21:13:02 -04:00
Justin Ethier
26b141beae Adding exports 2015-06-26 20:59:46 -04:00
Justin Ethier
5d74721111 Adding stub 2015-06-25 22:52:30 -04:00
Justin Ethier
143ef49c20 Temporarily adding cyc:get-lib definition 2015-06-25 22:37:19 -04:00
Justin Ethier
1d72873117 Added error handling to substring 2015-06-25 22:04:20 -04:00
Justin Ethier
fcf9158d1c Adding obvious TODO, for later 2015-06-25 21:45:34 -04:00
Justin Ethier
ba38bcd8a7 Added string-length and substring
substring still needs more error handling though, before it is complete.
2015-06-25 21:44:49 -04:00
Justin Ethier
5cf4481604 Migrated (filter) to the util module
Relocated as this function is required by the transform and library modules. Also rewrote it to use letrec instead of named let, as the latter is not support yet by cyclone.
2015-06-25 21:14:06 -04:00
Justin Ethier
b94fc646fb Use simpler constructs instead of and-let* 2015-06-24 23:02:03 -04:00
Justin Ethier
8c38845006 Migrated more functions to util 2015-06-24 22:55:09 -04:00
Justin Ethier
0740f2da7a Added util module 2015-06-24 22:28:09 -04:00