Justin Ethier
656a7f01d4
WIP
2016-07-31 19:04:51 -04:00
Justin Ethier
9eaa1ba47c
Use -O2
2016-07-30 19:34:57 -04:00
Justin Ethier
bd74d90100
Replace GC_DEBUG_PRINTFS with GC_DEBUG_TRACE
2016-07-30 19:13:23 -04:00
Justin Ethier
09807899d0
Fixes to debug code
2016-07-30 18:24:07 -04:00
Justin Ethier
44dd3de7ac
Added comments
2016-07-30 17:10:43 -04:00
Justin Ethier
6643eeb083
Fix and attempt to improve (if) optimization
2016-07-29 19:05:50 -04:00
Justin Ethier
0fb83a8100
Optimize (if #f x y) to just y
2016-07-29 18:52:00 -04:00
Justin Ethier
c1451e26ae
Externalize gcc commands
2016-07-29 17:56:28 -04:00
Justin Ethier
6a50eff1e0
Fix compilation of Cyc-compilation-environment
2016-07-29 17:36:23 -04:00
Justin Ethier
5eeef5d992
Added (Cyc-compilation-environment)
2016-07-30 03:12:17 -04:00
Justin Ethier
b96a9fcedd
Added Cyc_compilation_environment()
2016-07-30 01:48:27 -04:00
Justin Ethier
e13f46b39e
Cleanup, added internal compilation commands
2016-07-30 00:59:01 -04:00
Justin Ethier
50ed9b639f
Added string-replace-all
2016-07-29 23:33:04 -04:00
Justin Ethier
3beec26ba5
Use safe cxr functions
2016-07-29 22:51:16 -04:00
Justin Ethier
c90679a851
Added libck
2016-07-29 22:39:46 -04:00
Justin Ethier
732a7b7b3b
Remove extraneous bullet
2016-07-29 22:37:15 -04:00
Justin Ethier
05f1aa576d
Added new sections
2016-07-29 22:35:50 -04:00
Justin Ethier
129f02d70d
Added safe cxr macros
2016-07-29 19:57:15 -04:00
Justin Ethier
3cceb2f84c
Eliminate compiler warning
2016-07-29 03:16:42 -04:00
Justin Ethier
324702896a
Add expected definitions
2016-07-29 03:12:44 -04:00
Justin Ethier
b325101fcb
Use safe car/cdr
2016-07-29 02:42:35 -04:00
Justin Ethier
fe65274c77
Added Cyc_car / Cyc_cdr
2016-07-28 23:34:03 -04:00
Justin Ethier
9c04662938
Use fgets for read-line
2016-07-26 21:36:33 -04:00
Justin Ethier
fa24f4db37
Unsafe cell functions
2016-07-25 23:26:43 -04:00
Justin Ethier
facaf608ae
Define gc_collector_mark_gray as static
...
This is a commonly used function that the C compiler may be able to better optimize, such as inline, now that it is guaranteed to only be used within the gc.c module.
2016-07-25 21:46:30 -04:00
Justin Ethier
1fa07c1e0f
Handle error better
2016-07-24 22:20:45 -04:00
Justin Ethier
cc6eba8f52
Include SRFI 69 in the bootstrap directive
2016-07-20 23:06:30 -04:00
Justin Ethier
f46cc5b010
Explicitly declare C main as returning int
2016-07-20 22:35:01 -04:00
Justin Ethier
cfb3209648
Fixed compiler warning, replaced hexstr2int
2016-07-20 22:06:25 -04:00
Justin Ethier
d6f5a81f2d
Fixed compiler warnings
2016-07-19 23:02:21 -04:00
Justin Ethier
f7a6c872cc
Added -Wall to hunt down warnings
2016-07-19 23:22:25 -04:00
Justin Ethier
bf932472f1
Externalize compiler version
2016-07-18 23:09:29 -04:00
Justin Ethier
cf7fd6d782
Obsolete
2016-07-16 22:03:54 -04:00
Justin Ethier
84461c0b81
Version bump
2016-07-15 23:51:52 -04:00
Justin Ethier
2b7525655b
Cleanup
2016-07-15 23:31:48 -04:00
Justin Ethier
1c0c0bb315
Change how mutations are stored in memory
...
Use a reallocated memory buffer instead of malloc'd pairs. This should speed things up by reducing the number of allocations and by keeping mutations in contiguous sections of memory.
2016-07-15 23:14:36 -04:00
Justin Ethier
9e2a51fdae
Refactoring
2016-07-15 21:22:50 -04:00
Justin Ethier
336eaa5059
WIP
2016-07-15 23:39:36 -04:00
Justin Ethier
f00929971d
Allow local to have same identifier as a prim
...
Allow a local variable to use the same identifier as a primitive, by renaming the local and shadowing the primitive within that scope.
2016-07-15 22:43:56 -04:00
Justin Ethier
c23d3c4a7a
Added more functions to (prim-creates-mutable-obj?)
2016-07-15 19:37:16 -04:00
Justin Ethier
c1bd242205
Version bump
2016-07-15 19:35:56 -04:00
Justin Ethier
5d1fbb6958
Initial file
2016-07-15 19:35:44 -04:00
Justin Ethier
bd9a134e34
Purge (macro?)
2016-07-14 22:32:18 -04:00
Justin Ethier
089a64d290
Replace (macro?) with (Cyc-macro?)
2016-07-14 22:29:58 -04:00
Justin Ethier
f75b077270
Added (Cyc-macro?)
2016-07-14 22:18:46 -04:00
Justin Ethier
9311ee5f83
Generalized CPS optimization fix
2016-07-15 02:55:53 -04:00
Justin Ethier
ccf8329ffb
WIP
2016-07-14 23:54:51 -04:00
Justin Ethier
c733e440d4
WIP
2016-07-14 23:31:03 -04:00
Justin Ethier
11cb6579b3
Version bump
2016-07-14 19:40:58 -04:00
Justin Ethier
3f28243075
Use string_len macro instead of strlen()
2016-07-14 03:22:43 -04:00