Commit graph

235 commits

Author SHA1 Message Date
Justin Ethier
1c45b8dff2 WIP 2015-04-29 14:16:29 -04:00
Justin Ethier
00210d5731 Added test2 directive 2015-04-29 14:12:49 -04:00
Justin Ethier
4ec321882b New file 2015-04-29 13:39:06 -04:00
Justin Ethier
0b13361cc3 Adding compiler stubs 2015-04-29 12:48:42 -04:00
Justin Ethier
2f409d141c Added notes, remove error for programs 2015-04-28 18:14:29 -04:00
Justin Ethier
3ec2558a6f Fixes 2015-04-28 16:48:38 -04:00
Justin Ethier
694f9f6266 Stubs to differentiate between program and library 2015-04-28 14:28:42 -04:00
Justin Ethier
b5d06c5913 Simplify 2015-04-28 13:57:52 -04:00
Justin Ethier
9a8a35588e New files 2015-04-28 10:34:51 -04:00
Justin Ethier
de5fcb2039 Fixup help formatting 2015-04-28 10:30:07 -04:00
Justin Ethier
d208c95609 WIP - help banner 2015-04-27 18:18:07 -04:00
Justin Ethier
caf6f85c7c Added stub for CPS optimizations 2015-04-27 18:03:09 -04:00
Justin Ethier
f8036a7ee8 Cleanup fixed items 2015-04-24 11:32:58 -04:00
Justin Ethier
f4ce142cf1 Added option for trace level, do not emit trans by default 2015-04-23 16:06:37 -04:00
Justin Ethier
ecf07517d2 Cleanup, display newline before exiting 2015-04-23 15:16:53 -04:00
Justin Ethier
c4c5b04a5b No longer needed 2015-04-23 15:10:06 -04:00
Justin Ethier
4230295683 Fix load_varargs to prevent local var corruption
Assigning to a varargs variable that is not passed by the C caller can result in corruption of another parameter. EG: the var contains data for another parameter, which is then changed unexpectedly. The code was rewritten to assign to a new variable, to prevent this from happening.
2015-04-23 15:06:49 -04:00
Justin Ethier
5855c77a74 Added notes 2015-04-23 12:33:34 -04:00
Justin Ethier
efb11319a0 Added more debugging 2015-04-23 12:00:05 -04:00
Justin Ethier
8fe0876265 halt primitive is implemented, no need for printf 2015-04-22 18:13:45 -04:00
Justin Ethier
c2abf99861 Added bt 2015-04-22 18:12:50 -04:00
Justin Ethier
4b87b9afab Only adding this temporarily for debugging 2015-04-22 18:11:55 -04:00
Justin Ethier
84b4373974 Self-contained example 2015-04-22 18:03:32 -04:00
Justin Ethier
a1592ca61f testing 2015-04-22 17:49:53 -04:00
Justin Ethier
abc37155a9 Pass actual arg to numerical op raise() 2015-04-22 13:13:33 -04:00
Justin Ethier
42b524f9cb Relocated prorotypes to common place 2015-04-21 17:22:31 -04:00
Justin Ethier
cfdac7963d Cleanup of runtime library 2015-04-21 17:16:29 -04:00
Justin Ethier
5118a4e456 Added prototypes for Cyc_sub, etc 2015-04-20 13:57:23 -04:00
Justin Ethier
538a010893 Allow varargs for - * / as well as + 2015-04-20 13:55:26 -04:00
Justin Ethier
befa629daa Clarified TODO 2015-04-17 22:06:31 -04:00
Justin Ethier
3901c32a7b Cleanup 2015-04-17 22:05:30 -04:00
Justin Ethier
178c5f622f Removed debug lines 2015-04-17 22:20:09 -04:00
Justin Ethier
897e310d44 Cleanup 2015-04-17 22:17:48 -04:00
Justin Ethier
e44ece1986 Handle receiving a primitive as the next function after GC 2015-04-17 21:54:06 -04:00
Justin Ethier
36bf695eb1 Added possible solution 2015-04-17 15:15:33 -04:00
Justin Ethier
6f4581543d Debugging icyc crash 2015-04-17 14:18:46 -04:00
Justin Ethier
8a6a54a017 Added TODO for WIP items 2015-04-16 22:55:55 -04:00
Justin Ethier
060d256f4a Properly handle rt errors 2015-04-16 22:39:04 -04:00
Justin Ethier
13c9d44500 Cleanup 2015-04-16 18:10:11 -04:00
Justin Ethier
2e9562565f WIP 2015-04-16 17:24:04 -04:00
Justin Ethier
ef8b97e1b6 Added clarifying comments 2015-04-16 14:03:55 -04:00
Justin Ethier
ad14045446 Fix compilation errors 2015-04-16 13:59:37 -04:00
Justin Ethier
9a370aa532 Added CPS note 2015-04-16 12:52:11 -04:00
Justin Ethier
388d0c3017 WIP - move Cyc-current-exception-handler to runtime 2015-04-15 22:58:39 -04:00
Justin Ethier
01b33d0227 Added notes on adding error handling to runtime 2015-04-15 18:07:21 -04:00
Justin Ethier
b51e3747e2 Use a common numeric operation va_list function 2015-04-15 13:58:51 -04:00
Justin Ethier
6cadac2be8 Renamed cyc_sum family of functions 2015-04-15 13:43:02 -04:00
Justin Ethier
3193ff1dd9 Only print GC start/done when in debug mode 2015-04-15 13:37:13 -04:00
Justin Ethier
4952129efb Removed debug printf's 2015-04-15 13:32:40 -04:00
Justin Ethier
abac04c58e Replace set-cell! with set-car!
Set-cell was just a wrapper on set-car anyway, but it was failing to record a mutation, which would cause problems later on for the GC. By using set-car directly we avoid GC issues and simplify the runtime code a bit.
2015-04-15 13:30:28 -04:00