Commit graph

209 commits

Author SHA1 Message Date
Justin Ethier
8ef3cb7e61 utf8/string functions 2016-03-29 00:32:50 -04:00
Justin Ethier
dbf77ce999 Be more careful about optimizing-out functions 2016-03-23 22:52:08 -04:00
Justin Ethier
b4ca192000 WIP 2016-03-24 01:22:42 -04:00
Justin Ethier
4f46e124fa Core function for bytevector-copy 2016-03-24 01:09:14 -04:00
Justin Ethier
e9ed4abcc5 bytevector fixes 2016-03-24 00:14:57 -04:00
Justin Ethier
56278989eb Integrating bytevector-append 2016-03-23 22:58:56 -04:00
Justin Ethier
0262ea944b Added bytevector-append 2016-03-23 22:21:14 -04:00
Justin Ethier
d184df6b4e WIP 2016-03-23 20:26:57 -04:00
Justin Ethier
1f85e6a957 Adding more bv prims 2016-03-22 22:45:36 -04:00
Justin Ethier
14abd06304 bytevector primitives 2016-03-22 23:16:18 -04:00
Justin Ethier
059f6d5321 u8 primitives 2016-03-22 23:07:29 -04:00
Justin Ethier
d0914d863f Allow optional fill arg to (make-vector) in compiled code 2016-03-22 20:45:14 -04:00
Justin Ethier
943dd1aad5 Use new vector function 2016-03-22 20:07:37 -04:00
Justin Ethier
f11fec9f82 Cleaning up Cyc_length 2016-03-22 03:23:46 -04:00
Justin Ethier
739831ebe6 Removed redundant functions 2016-03-22 01:03:12 -04:00
Justin Ethier
b670dacddb Moving away from primitives that return integer_type 2016-03-21 23:08:58 -04:00
Justin Ethier
05d39afd3f Use immediates 2016-03-19 22:38:23 -04:00
Justin Ethier
580a674525 Temporarily disable using immediate ints
Also bugfix to let equal() work with immediates
2016-03-19 22:20:08 -04:00
Justin Ethier
cdde675994 Integer value types 2016-03-17 22:51:31 -04:00
Justin Ethier
acf9de866e Purge sum2 and friends 2016-03-17 21:11:24 -04:00
Justin Ethier
f2be2abc65 Use new + - * / functions 2016-03-18 03:43:52 -04:00
Justin Ethier
b3b29ae15f Removed string->number2 2016-03-17 01:56:11 -04:00
Justin Ethier
9e27db1025 Equivalent string->number functions 2016-03-17 01:43:30 -04:00
Justin Ethier
5d234d1509 WIP 2016-03-15 22:32:30 -04:00
Justin Ethier
0dea5d82c6 Optimize (if (not a) b c) 2016-03-12 02:48:44 -05:00
Justin Ethier
c44d5d5427 Call CPS optimization code from main program 2016-03-10 21:29:47 -05:00
Justin Ethier
4c2b56b19e Test optimization changes 2016-03-11 02:19:20 -05:00
Justin Ethier
4e9a209f43 First start at CPS optimization 2016-03-10 23:50:13 -05:00
Justin Ethier
47f43d54c0 Only generate call history for top-level (or library) defines 2016-03-03 22:38:33 -05:00
Justin Ethier
abdce5d978 Prevent "too many arguments" errors
Use folds instead of apply to prevent errors with too many arguments passed.
2016-03-01 22:09:26 -05:00
Justin Ethier
76c84ad29e Added optional arg to string->number 2016-02-23 00:06:45 -05:00
Justin Ethier
41ff5a149b Fix (closure) casting in closcall macros 2016-02-18 22:30:10 -05:00
Justin Ethier
c98e186172 Relocated mutex primitives to srfi 18 lib 2016-02-16 23:51:28 -05:00
Justin Ethier
730434bb14 Added header comment block. 2016-02-14 22:35:04 -05:00
Justin Ethier
65529629d5 Beginnings of syntax-rules support 2016-02-11 22:31:09 -05:00
Justin Ethier
f5cd5d0fdf Added expand-lambda-body 2016-02-05 22:52:39 -05:00
Justin Ethier
770dba7bdb Temporary workaround for begin splicing 2016-02-02 21:40:49 -05:00
Justin Ethier
6f97d019ad Do not constant-fold cons 2016-02-03 03:20:33 -05:00
Justin Ethier
b1091aabd6 Added list-index2 2016-02-03 02:07:03 -05:00
Justin Ethier
b9f83507fd Issue #40 - Splice begin definitions into enclosing body 2016-02-02 23:01:56 -05:00
Justin Ethier
657ffc99f3 Added TODO 2016-01-31 22:49:08 -05:00
Justin Ethier
8d88f69882 Refactoring 2016-01-31 21:45:08 -05:00
Justin Ethier
d93d89a922 Replacing begin 2016-01-30 22:35:50 -05:00
Justin Ethier
7664b4c1e4 Removing call-with-values for now 2016-01-26 22:36:23 -05:00
Justin Ethier
76bbca68e5 Cyc-minor-gc is now part of (srfi 18)
It makes more sense here than as a primitive, since threading is the only place you would need to trigger this from application code.
2016-01-18 22:40:59 -05:00
Justin Ethier
1e71ff3fd3 Move thread-sleep! to 18.sld 2016-01-18 22:18:39 -05:00
Justin Ethier
02317f940d Transitioning away from Cyc_current_exception_handler2 2016-01-12 03:26:55 -05:00
Justin Ethier
87c266a44a Adding exception stack to thread data 2016-01-12 03:21:36 -05:00
Justin Ethier
4ab9f085fd Compute number of arguments 2016-01-09 23:20:16 -05:00
Justin Ethier
4f3d7055d4 Bug fixes 2016-01-09 22:52:15 -05:00