Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Common LISP on iPhone/iOS

Is it possible to call a Common Lisp function in iOS?

If so, is it possible create it in a dynamic library?

like image 209
Egil Avatar asked Oct 30 '10 19:10

Egil


2 Answers

It depends on what you mean by calling a CL function, but most likely ECL will be your shortest path. Start here, as there is a patch for ECL to better accommodate iOS: http://funcall.posterous.com/tag/iphone

ECL generates C code, so you should be in safe territory with Apple's shifting policies.

like image 97
Daniel Avatar answered Nov 14 '22 06:11

Daniel


Have you tried MOCL?

According to the website "mocl is a highly optimizing CL implementation, delivering tight native code via LLVM/Clang".

Maybe you can create a dynamic library, though it is designed for use the other way around.

like image 4
quasi Avatar answered Nov 14 '22 05:11

quasi