back
2 comments
It is possible to cross-compile Racket for Android. There's notes on how to do this in the src tree here: https://github.com/plt/racket/tree/master/racket/src

There's also Whalesong, which compiles Racket to JS, which could potentially be useful for either platform: http://www.hashcollision.org/whalesong/index.html

Thanks. I was thinking at compiling a Racket application to iOS or Android in the way RubyMotion compiles Ruby code to iOS. Probably my original question wasn't so clear.
My understanding is that Apple prohibits programming languages in the App store.

By 'port to Android' do you mean running the Racket VM on the Dalvik VM? It is hard for me to see how that would be more productive than Clojure.

That's not quite it... There are programming languages in the App Store. A couple I've tried are:

- LuaBox Pro https://itunes.apple.com/au/app/iluabox-pro/id437557082?mt=8

- Lisping https://itunes.apple.com/au/app/lisping/id512138518?mt=8

- Ruby for iOS https://itunes.apple.com/au/app/ruby-for-ios/id535080197?mt=...

The sticking point is that they can't download substantial new functionality. So you can't make it easy to import scripts from elsewhere to be run as is they were native apps.

This is probably to avoid 'trojan horse' apps which appear to be a REPL but are really meant to be bit torrent clients or bitcoin wallets or ... anything else Apple wouldn't let in the front door.

> My understanding is that Apple prohibits programming languages in the App store.

This is not entirely true, as long as your language is compiled there is no problem (see RubyMotion which is a compiler for Ruby for iOS). Even interpreted languages like Lua and JavaScript are allowed.

I think JIT languages are not allowed.