Commit graph

257 commits

Author SHA1 Message Date
Justin Ethier
2f72b30f23 Build-out of time library 2016-01-10 21:29:45 -05:00
Justin Ethier
375d8a99a9 Added comment 2016-01-09 23:33:14 -05:00
Justin Ethier
dc8b9450b8 Added stubs 2016-01-09 23:29:26 -05:00
Justin Ethier
b931fb5dbc Removed FFI testing code 2016-01-09 23:29:19 -05:00
Justin Ethier
4ab9f085fd Compute number of arguments 2016-01-09 23:20:16 -05:00
Justin Ethier
ae22ecffbe Added a non-working stub 2016-01-09 23:02:57 -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
5e1bc2f282 New FFI syntax 2016-01-07 22:45:45 -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
95391a6cab Added TODO 2016-01-06 23:07:29 -05:00
Justin Ethier
04dda29132 Experimenting with what an FFI could look like 2016-01-06 23:00:50 -05:00
Justin Ethier
e41923ad05 Added optional environment specifier 2016-01-06 23:07:18 -05:00
Justin Ethier
33c9748a33 Make circular dep error message more meaningful 2016-01-06 19:16:46 -05:00
Justin Ethier
1c87635236 Make additional icyc modules visible in repl
By recreating a fresh global environment after all imports have been processed, and passing this to eval, all modules loaded by icyc are available to eval.
2016-01-05 23:00:10 -05:00
Justin Ethier
5c9651c5df Enhance error message 2016-01-05 22:29:29 -05:00
Justin Ethier
6acfc987f3 Initial file 2016-01-05 21:32:39 -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
de33b567a3 Missed a couple things... 2016-01-02 22:49:57 -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
7db26c7d8c Relocated threading functions 2015-12-26 23:26:07 -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
aad3cebd7a Allow module to compile 2015-12-20 00:31:50 -05:00
Justin Ethier
00210623d7 Added thread-terminate 2015-12-19 23:59:52 -05:00
Justin Ethier
72e3a2e91b Added thread-yield 2015-12-19 23:44:39 -05:00
Justin Ethier
d9656fc793 Use the name thread-sleep! 2015-12-19 00:22:49 -05:00
Justin Ethier
8895bee4ed Adding sleep function 2015-12-19 00:08:36 -05:00
Justin Ethier
e4d21335cf Added thread-start! 2015-12-18 22:37:48 -05:00
Justin Ethier
f6347de299 Do not constant fold thread functions 2015-12-17 23:56:12 -05:00
Justin Ethier
a539027b0f Added thread primitives 2015-12-17 23:50:11 -05:00
Justin Ethier
d478132d8a Fixed-up make-thread 2015-12-16 21:59:58 -05:00
Justin Ethier
7c795f1534 Noted TODO 2015-12-16 23:07:14 -05:00
Justin Ethier
0e8129f5e6 Added thread stubs 2015-12-16 22:54:34 -05:00
Justin Ethier
dfed77639a Adding thread application stubs 2015-12-15 22:58:15 -05:00
Justin Ethier
ddf54ec5c7 Phasing-out Cyc_st_add2 2015-12-14 23:16:28 -05:00
Justin Ethier
ead5bcb100 Keep track of call history using thread data 2015-12-14 22:55:57 -05:00