Commit graph

690 commits

Author SHA1 Message Date
Justin Ethier
99f0a0dc1d Pass args to cyc-installation-dir 2015-07-17 22:46:40 -04:00
Justin Ethier
c744080984 Added (Cyc-installation-dir) 2015-07-17 21:39:57 -04:00
Justin Ethier
537052b87e Reduced buffer size 2015-07-15 22:15:28 -04:00
Justin Ethier
cd91837f4a Throw div-by-0 error 2015-07-15 21:34:05 -04:00
Justin Ethier
5604ecfca2 Validate number of args when applying a closure 2015-07-15 22:34:43 -04:00
Justin Ethier
ce0851212d Added hooks to validate number of fn args 2015-07-14 22:54:14 -04:00
Justin Ethier
09453f3cc6 Check number of arguments when applying prims 2015-07-14 21:57:31 -04:00
Justin Ethier
72c32de774 Testing out basic arg count validation 2015-07-13 22:16:57 -04:00
Justin Ethier
2d8c6ed5f3 Added basic call history reporting 2015-07-13 21:46:21 -04:00
Justin Ethier
a3eb7b4b56 Replace chicken macro with code that can be auto-generated 2015-07-10 22:18:01 -04:00
Justin Ethier
93be85a1ee Added TODO 2015-07-10 23:27:58 -04:00
Justin Ethier
384a5ce0fe Added hooks to runtime for call history.
Still need to log the actual calls at runtime.
2015-07-10 21:41:49 -04:00
Justin Ethier
af1cf74b3b Added stack trace functions 2015-07-10 21:36:37 -04:00
Justin Ethier
8dce2178d1 Added stubs for tracking of stack traces 2015-07-10 17:47:19 -04:00
Justin Ethier
d18cc7f23a Thrown an error if file cannot be opened. 2015-07-09 22:16:30 -04:00
Justin Ethier
558a51f424 Avoid segfaults 2015-07-07 22:51:22 -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
602295e29c Fix to Cyc_is_reserved_symbol() 2015-07-06 23:39:14 -04:00
Justin Ethier
9562137f34 Stubbing-out Cyc-reserved-symbol? 2015-07-06 22:13:23 -04:00
Justin Ethier
6c40a29d5d Upgrade to major GC if data heap exceeds limit 2015-07-03 23:27:24 -04:00
Justin Ethier
1615794d99 Bugfixes 2015-07-02 21:40:55 -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
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
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
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
a5acb43cf1 Added (file-exists?) and (delete-file) 2015-06-24 21:42:14 -04:00
Justin Ethier
674807a9e2 Updated comment 2015-06-24 21:17:01 -04:00
Justin Ethier
b86cb0b561 Allow evaluating scheme procedures 2015-06-24 21:15:45 -04:00
Justin Ethier
f02d998dbc Output file pointer when printing port 2015-06-23 21:25:34 -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
bebacfb985 Added current-input-port and current-error-port 2015-06-22 21:08:20 -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
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
335f3e86d5 Use a scheme version of (write) 2015-06-11 21:43:55 -04:00
Justin Ethier
e8ff0509ea Added Cyc-stdout 2015-06-10 23:02:39 -04:00