Commit graph

337 commits

Author SHA1 Message Date
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
Justin Ethier
3a98b3b8d8 WIP 2016-01-08 23:07:23 -05:00
Justin Ethier
1b1320ebf0 WIP 2016-01-08 23:22:44 -05:00
Justin Ethier
52cd5c48e1 WIP for FFI 2016-01-07 22:54:17 -05:00
Justin Ethier
69e8450c1b Adding define-c 2016-01-07 22:45:03 -05:00
Justin Ethier
16f420e057 Adding define-c 2016-01-07 22:44:54 -05:00
Justin Ethier
c5ea165cb5 Added define-c? 2016-01-07 21:03:38 -05:00
Justin Ethier
33c9748a33 Make circular dep error message more meaningful 2016-01-06 19:16:46 -05:00
Justin Ethier
5c9651c5df Enhance error message 2016-01-05 22:29:29 -05:00
Justin Ethier
a889d6fb6f Refactoring
Renamed cyc_start_thread to cyc_start_trampoline to be more clear about what the function actually does.
2016-01-03 22:56:34 -05:00
Justin Ethier
4a940918ee Fix compilation of make-mutex
Issue was that this takes no application-level arguments but does take a 'data' argument. So this required some modifications since we never had a function with those specific needs before.
2016-01-03 21:34:16 -05:00
Justin Ethier
9b7e9106f1 Treat (srfi) includes as built-in libraries 2016-01-03 20:49:47 -05:00
Justin Ethier
f3a78bc15a Fixed compilation issues with mutex primitives 2016-01-03 20:39:53 -05:00
Justin Ethier
6b96c00b57 Mutex fixes 2016-01-03 00:09:41 -05:00
Justin Ethier
309fc3dc13 Added mutex functions 2016-01-02 22:41:50 -05:00
Justin Ethier
727d606928 Bump version number and copyright info 2015-12-29 23:21:59 -05:00
Justin Ethier
eaa0481f40 Added Cyc-minor-gc 2015-12-27 23:16:58 -05:00
Justin Ethier
3f0306c404 Handle import-sets that contain numbers 2015-12-27 22:41:52 -05:00
Justin Ethier
e8186fb6fe Added function to normalize import set lists 2015-12-27 22:04:51 -05:00
Justin Ethier
167d26adbb Handle lib names with numbers in them 2015-12-26 23:48:45 -05:00
Justin Ethier
b31c6181c8 Set main thread runnable 2015-12-24 01:32:29 -05:00
Justin Ethier
309e35c69b Added cont argument to blocking I/O functions 2015-12-22 21:57:00 -05:00
Justin Ethier
d9656fc793 Use the name thread-sleep! 2015-12-19 00:22:49 -05:00