Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Lisp in Android?

Tags:

android

lisp

How I can use a Lisp library in Android (Eclipse Java)?

For example I like have a "Intelligent apps" with Lisp.

like image 917
A.A Avatar asked Oct 29 '25 20:10

A.A


2 Answers

You need or common lisp implementation, which can run under android, or some tool to compile common lisp code into JVM Bytecode or native library for android (with NDK). As far as I know, there is no good and free solution for this problem for now.

Clozure Common Lisp can run under android, but you can't really create an application which can be published in play store with it. Or it'll be very difficult. There is even an example for CCL on android.

There is also proprietary Common Lisp implementation from wukix - MOCL, which aims to be able to bring Common Lisp into mobile development world. I had no experience with that, you can give it a try.

As I said, looks like for now there is no easy way to do what you want.

like image 117
coredump Avatar answered Nov 01 '25 10:11

coredump


Try lispworks android/ios runtime: Sad thing it's not free, but you can ask for evaluation license.

Useful links:

Build iOS/Android Libraries in Common Lisp with LispWorks

LispWorks® for Mobile Runtime

LispWorks User Guide and Reference Manual- 16 Android interface

Mocl is another alternative:

mocl (+ lisp ios android osx)

like image 22
PK.Shrestha Avatar answered Nov 01 '25 10:11

PK.Shrestha