Commit graph

601 commits

Author SHA1 Message Date
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
Justin Ethier
a1f7e3a8ee Debugging using csi 2015-06-23 22:37:17 -04:00
Justin Ethier
3d7adf0a9f Fix compiler warning 2015-06-23 22:05:41 -04:00
Justin Ethier
dd4875d141 Testing 2015-06-23 21:56:22 -04:00
Justin Ethier
606c0f4d45 Allow printing of actual gcc messages 2015-06-23 21:45:43 -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
f02d998dbc Output file pointer when printing port 2015-06-23 21:25:34 -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
Justin Ethier
e782030d06 Added stubs 2015-06-22 22:49:44 -04:00
Justin Ethier
634dad667b Added (scheme file) library 2015-06-22 22:46:36 -04:00
Justin Ethier
aefb75c807 Initial file 2015-06-22 22:44:45 -04:00
Justin Ethier
8d72cfaff1 Added more I/O functions 2015-06-22 22:40:49 -04:00
Justin Ethier
8fa6ecf7bf Added close-port and close-output-port 2015-06-22 22:02:45 -04:00
Justin Ethier
8ba904cc30 Added TODO's 2015-06-22 21:16:30 -04:00