Commit graph

685 commits

Author SHA1 Message Date
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
Justin Ethier
920f5dfd63 Stub for call-with-port 2015-06-22 21:14:34 -04:00
Justin Ethier
bebacfb985 Added current-input-port and current-error-port 2015-06-22 21:08:20 -04:00
Justin Ethier
b8663c0b88 Added a note 2015-06-12 21:26:44 -04:00
Justin Ethier
16eae93839 Fixed item 2015-06-12 21:16:41 -04:00
Justin Ethier
a18f1923f6 Fixed consistency issues with default ex handler
Previously there was a difference between how the default handler displayed objects compared to custom exception handlers. This has been fixed up so all error objects are displayed consistently.
2015-06-12 21:15:07 -04:00
Justin Ethier
1e5d16de25 Clean up how exceptions "pack" objects 2015-06-12 21:02:26 -04:00
Justin Ethier
955b58b1a5 WIP 2015-06-11 23:02:59 -04:00
Justin Ethier
3b121a059d Added TODO for error messages not displaying correctly 2015-06-11 23:00:36 -04:00
Justin Ethier
25f02522d5 Added (port?) 2015-06-11 22:57:00 -04:00
Justin Ethier
a704d72f1b Removing cruft 2015-06-11 22:30:10 -04:00
Justin Ethier
741835bc49 Return the "void" object from I/O functions
Primarily need this to prevent duplicate output in the REPL when calling functions such as (write).
2015-06-11 22:13:46 -04:00
Justin Ethier
9b6596e146 (write-char) 2015-06-12 01:43:09 -04:00
Justin Ethier
a77c6562d8 WIP - optional argument for (display) 2015-06-12 01:27:51 -04:00
Justin Ethier
f0f244bc74 WIP 2015-06-11 22:21:09 -04:00
Justin Ethier
0ef98dc6f5 Renamed module 2015-06-11 22:21:01 -04:00
Justin Ethier
4530241ad4 Renamed module 2015-06-11 22:20:46 -04:00