Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lisp and Android NDK

Tags:

Is there a lisp ported to android with the NDK? I've been thinking of writing one in C++, for a project I have going, but I don't want to reinvent the wheel. Has anyone seen such a beast?

I have seen this project, but it's not quite what I'm looking for...

like image 311
Albert Perrien Avatar asked Apr 16 '11 00:04

Albert Perrien


People also ask

What is Android NDK used for?

The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries you can use to manage native activities and access physical device components, such as sensors and touch input.

What compiler does Android NDK use?

Code written in C/C++ can be compiled to ARM, or x86 native code (or their 64-bit variants) using the Android Native Development Kit (NDK). The NDK uses the Clang compiler to compile C/C++.

What is NDK and SDK in Android?

Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java. [TODO] more.

What is NDK API?

The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications. Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++.


2 Answers

There is an effort underway to run ECL on Android with the NDK.

Embeddable Common Lisp (ECL) is an implementation of Common Lisp that compiles to C.

According to a recent post from the developer about the status of ECL on Android, "it's now at a point where it's reasonably complete." The developer is currently working on adding bindings to the java API.

like image 59
Terje Norderhaug Avatar answered Oct 10 '22 23:10

Terje Norderhaug


I hate answers that just have a link but I came across this blog post of a guy who got Gambit Scheme running:

http://seanchapel.blogspot.com/2010/10/gambit-scheme-on-android.html

From the comments it looks like this blog post was discussed on the Mailing list, so it might be possible to build it without patching now.

like image 34
wm_eddie Avatar answered Oct 10 '22 22:10

wm_eddie