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
6d4c85766e
Added define-c
2016-01-07 22:45:16 -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
4cc7d028fb
Added load module
2016-01-05 21:44:26 -05:00
Justin Ethier
6acfc987f3
Initial file
2016-01-05 21:32:39 -05:00
Justin Ethier
7b349fe764
Added notes
2016-01-05 23:34:17 -05:00
Justin Ethier
e5c5715c50
Added notes
2016-01-05 22:50:42 -05:00
Justin Ethier
ba783e327a
WIP
2016-01-05 19:31:48 -05:00
Justin Ethier
6a572635df
Initial file
2016-01-05 19:30:46 -05:00
Justin Ethier
4d2b59966c
Bug fixes, comments
2016-01-05 19:14:31 -05:00
Justin Ethier
2992eb02b7
Updated TODO's
2016-01-04 22:47:38 -05:00
Justin Ethier
72eda149c5
Use minor GC code to move GC coop result to heap
...
This allows the code to move any object to the heap, instead of the previous hack. There may be more overhead calling the full minor GC code, however, most objects should already have been moved and by definition this would only happen after a function has blocked for a length of time. So, both should minimize the additional overhead.
2016-01-04 22:39:37 -05:00
Justin Ethier
a2ba71f965
Two changes:
...
- Remove debug code from gc module
- Handle receiving non-heap allocated objects during GC cooperation
2016-01-04 22:13:55 -05:00
Justin Ethier
cdc44478f8
Completed merge
2016-01-04 21:51:56 -05:00
Justin Ethier
952f875c33
Initial file
2016-01-04 21:51:37 -05:00
Justin Ethier
16dc1f3f5e
Merge branch 'gc-dev6'
...
Conflicts:
runtime.c
2016-01-05 02:57:36 -05:00
Justin Ethier
a014df38b3
Notes
2016-01-05 02:21:50 -05:00
Justin Ethier
3031806bfa
Removed mutation table TODO
2016-01-04 22:55:14 -05:00
Justin Ethier
e28951a8d5
Move the mutation table into thread data.
2016-01-04 22:54:23 -05:00
Justin Ethier
c32cbdad9a
Added more notes
2016-01-03 23:02:11 -05:00
Justin Ethier
d2cbfaf217
Cleanup TODO
2016-01-03 22:57:13 -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
d89a81eca6
More cleanup
2016-01-03 22:30:30 -05:00
Justin Ethier
4d7cd020cc
Cleanup
2016-01-03 22:17:47 -05:00
Justin Ethier
ac7fec70a0
Finalize mutex prior to sweeping
2016-01-03 21:59:09 -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
b5704446e6
WIP
2016-01-03 00:11:44 -05:00
Justin Ethier
6b96c00b57
Mutex fixes
2016-01-03 00:09:41 -05:00
Justin Ethier
ef61c578c5
Build-out of mutex lock/unlock
2016-01-03 00:02:19 -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
9402805af3
Mutex stubs
2016-01-02 22:13:45 -05:00
Justin Ethier
36752be311
Stubs for mutex functions
2016-01-02 21:56:36 -05:00
Justin Ethier
c0ac60ba87
Beginnings of a mutex type
2015-12-30 21:59:37 -05:00
Justin Ethier
c7dd60bf06
Updated notes
2015-12-29 23:27:09 -05:00
Justin Ethier
727d606928
Bump version number and copyright info
2015-12-29 23:21:59 -05:00
Justin Ethier
8f1ad554d9
Use separate configs for X86 / ARM (pi 2)
2015-12-29 23:14:09 -05:00
Justin Ethier
1aa04f75b6
Added cflags for building on raspberry pi
2015-12-30 03:54:31 +00:00
Justin Ethier
71af17d7e7
Use atomic operations from libck
2015-12-29 22:05:07 -05:00