top | item 8884469

(no title)

SquidLord | 11 years ago

I'm just waiting for the inevitable realization when he realizes he can cut out Lua from the architecture and go straight in with Scheme.

discuss

order

lritter303|11 years ago

Actually, I very much wanted to do that, the problem is that there seems to be no Scheme implementation available that offers such a tight and convenient libffi integration. LuaJIT parses preprocessed C header files with very few adjustments. Terra, which links LuaJIT with LLVM, goes the full mile and directly uses libclang to generate interfaces.

If you know a Scheme implementation that does this (including supporting a LLVM back-end in addition to a regular, possibly JIT'ed interpreter), please do not hesitate to mention!

Arcanum-XIII|11 years ago

Gambit and Chicken are near your goal, but I don't know how far you can go with it. And there's of course GNU Guile.