Just like Bones ( http://www.call-with-current-continuation.org/bones/ ), it does not have C source to patch-in adding FFI feature. To support FFI on linux, 1) mmap ld-so 2) Write a ELF parser and resolve symbol locations 3) Implement C calling conventions.
https://gitlab.com/weinholt/loko (was: https://github.com/weinholt/loko)
Just like Bones ( http://www.call-with-current-continuation.org/bones/ ), it does not have C source to patch-in adding FFI feature. To support FFI on linux, 1)
mmap
ld-so 2) Write a ELF parser and resolve symbol locations 3) Implement C calling conventions.