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
Justin Ethier
e15fd3619d
Moving common functions to util module
2015-06-24 22:11:41 -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
47fdc4bbe5
Removed completed item
2015-06-24 21:45:15 -04:00
Justin Ethier
ae922d3eee
Added TODO's
2015-06-24 21:44:42 -04:00
Justin Ethier
a5acb43cf1
Added (file-exists?) and (delete-file)
2015-06-24 21:42:14 -04:00
Justin Ethier
7103f52f8b
Added more I/O tests
2015-06-24 21:22:54 -04:00
Justin Ethier
674807a9e2
Updated comment
2015-06-24 21:17:01 -04:00
Justin Ethier
a9453eccc4
Added included files as library deps
2015-06-24 21:16:28 -04:00
Justin Ethier
b86cb0b561
Allow evaluating scheme procedures
2015-06-24 21:15:45 -04:00
Justin Ethier
0c2106ec05
Added ports as self-evaluating
2015-06-24 21:15:18 -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