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
Justin Ethier
03df6405e6
debugging
2015-04-14 18:11:31 -04:00
Justin Ethier
98fc7fa642
Added varargs sum, but working through issues with segfaults
2015-04-14 13:52:14 -04:00
Justin Ethier
2de7b46904
Stubs for va-args sum
2015-04-13 22:42:41 -04:00
Justin Ethier
88ad7b614e
Moved code to group together primitive config
2015-04-13 17:56:57 -04:00
Justin Ethier
bbf7c2a568
Cleaned up TODO list
2015-04-13 13:59:22 -04:00
Justin Ethier
a5c1d01653
Precompute application of a primitive to literals
...
Precompute primitives when it is safe to do so
2015-04-13 13:51:21 -04:00
Justin Ethier
7f82bf2617
WIP - Cyc_raise
2015-04-10 17:46:48 -04:00
Justin Ethier
04c11eabfb
Replacing __sum macro with Cyc_sum
2015-04-10 14:56:47 -04:00
Justin Ethier
5be68ec60c
Experimenting with Cyc_sum
2015-04-10 14:16:15 -04:00
Justin Ethier
4b2a5ae35a
Need to be able to call an error handler from runtime
2015-04-10 14:16:01 -04:00
Justin Ethier
2a6941a9e6
Removed fixed item
2015-04-09 21:53:28 -04:00
Justin Ethier
010d3e6a18
Modified code to account for numeric tower, fixed up number->string
2015-04-09 21:52:49 -04:00
Justin Ethier
cac2144f76
WIP
2015-04-09 18:04:32 -04:00
Justin Ethier
d9add7ab54
WIP
2015-04-09 18:04:06 -04:00
Justin Ethier
b2cc35e141
Added real?
and integer?
2015-04-09 17:54:35 -04:00
Justin Ethier
f12094cae1
WIP
2015-04-09 14:41:08 -04:00
Justin Ethier
cbcde1e0b1
Allow (string->number) to parse floats and ints
2015-04-09 14:13:15 -04:00
Justin Ethier
ea8f56a4ee
Allow (string->number) to return common type (int and double)
2015-04-08 22:59:22 -04:00
Justin Ethier
c62e035153
Building-out double type
2015-04-08 22:30:05 -04:00
Justin Ethier
e68ae17b86
Test case for compile-time eval
2015-04-08 14:47:46 -04:00
Justin Ethier
cc15c8b5f3
Experimenting with compile-time evaluation
2015-04-08 13:59:32 -04:00
Justin Ethier
3fc60627eb
Experimenting with literal evaluation at compile time
2015-04-07 22:55:14 -04:00
Justin Ethier
73ec3a5c94
WIP
2015-04-07 18:02:42 -04:00
Justin Ethier
51d932c61d
Added TODO item
2015-04-07 14:24:34 -04:00
Justin Ethier
0b1490d102
Simplify CPS conversion of top-level code
2015-04-07 14:01:16 -04:00
Justin Ethier
1e317d273b
Added item
2015-04-03 17:24:27 -04:00
Justin Ethier
621463216f
Do not keep global just because it refers to itself
2015-04-03 16:54:26 -04:00
Justin Ethier
503770a899
Only emit funcall macros that are used by the generated code
2015-04-01 15:11:19 -04:00
Justin Ethier
b946e75a02
Fixed compiler warning
2015-03-31 22:59:14 -04:00
Justin Ethier
96b5037449
Removed obsolete macro generation
2015-03-31 22:58:39 -04:00
Justin Ethier
78fe64cb56
Replaced AFTER_LONGJMP, and misc fixes
2015-03-31 21:45:10 -04:00
Justin Ethier
716d0e0b7f
WIP
2015-03-31 14:14:40 -04:00
Justin Ethier
456af5b6d0
Removed unnecessary code
2015-03-31 13:59:21 -04:00
Justin Ethier
3e92f67924
Formatting
2015-03-31 13:59:11 -04:00
Justin Ethier
8f6d5db797
Simple example to investigate closure improvements
2015-03-30 22:19:32 -04:00
Justin Ethier
ccd975345a
Changed static compilation
2015-03-30 22:19:24 -04:00
Justin Ethier
b196f4b7fe
Only compile library as static
2015-03-30 22:19:11 -04:00
Justin Ethier
9f4fcc8d65
Compile using static library
2015-03-30 21:33:12 -04:00
Justin Ethier
55a575c1d7
Added items
2015-03-30 15:35:39 -04:00
Justin Ethier
366e813890
Added stubs for dynamic linking
2015-03-30 15:07:57 -04:00
Justin Ethier
dd4e8ebc94
Compile using static lib
2015-03-30 13:56:46 -04:00
Justin Ethier
dd8b1852f7
WIP - separating runtime code
2015-03-30 13:40:41 -04:00
Justin Ethier
c41608af7c
Removed DEBUG_ALWAYS_GC
2015-03-30 13:33:02 -04:00
Justin Ethier
926d7b7881
First steps toward precompiling part of the runtime
2015-03-27 17:15:03 -04:00
Justin Ethier
e8d3424125
Experimenting with an alternative approach for apply
2015-03-27 15:54:48 -04:00