Tuesday, May 17, 2011

Scheme Implementations in Java

Scheme is a small but very powerful functional language. The small size makes it easy to be ported everywhere. It started running on Android now.

List of Scheme implementations in Java (initially excerpted from here)

Schemes on Android

Roughly speaking, there seem to be two approaches to make Scheme run on Android. The first approach is to use Scheme for building Android package (APK) file. The other approach is to have some wrapper Android program that invokes the "eval" function to run a given Scheme program.

One of differences between them is that the former requires the installation process before one runs Scheme programs while the latter does not. Which approach is good? It must depends on what you want. If you like to program Scheme but want to run it on Android, the first approach is yours. If you are thinking of something like agent systems where small pieces of codes (agents) are wandering around different devices such as PCs, mobiles, TVs, and so on, you may prefer the second approach.

Here are some examples for the approaches.
  • The Scheme-as-Apk approach
  • The Scheme-as-agents approach