Arc Forumnew | comments | leaders | submitlogin
2 points by rocketnia 4704 days ago | link | parent

The closest thing I've seen is http://code.google.com/p/android-scripting/wiki/InterpreterD..., which says a lot about the build process but nothing about how to actually hook up a different language's interpreter.

I think this is the template project it's talking about, which might help: http://code.google.com/p/android-scripting/source/browse/and...

See how it uses LUA_BIN = "bin/lua"? Apparently SL4A is set up to execute a native application in a separate process. Lua for instance builds from a C project. The agcc/ folder probably has something to do with this (just to throw out vague vacuous suggestions ^^ ).

Wow, it looks like even JRuby is set up to run in a separate instance of the Dalvik VM: http://code.google.com/p/android-scripting/source/browse/and...

As far as JRuby goes though, I really like Ruboto IRB, a completely separate project. Or is it? At one point I think I heard that Ruboto IRB kinda branched off of SL4A. Not trying to start rumors, just not equipped with a convenient way to check my facts right now. :-p



2 points by rocketnia 4704 days ago | link

"I think this is the template project it's talking about, which might help: http://code.google.com/p/android-scripting/source/browse/and... "

Ack, wrong link. What I thought I said there was:

"I think this is the template project it's talking about, which might help: http://code.google.com/p/android-scripting/source/browse/#hg...

Hmm, the Lua project seems more helpful: http://code.google.com/p/android-scripting/source/browse/and... "

As far as the Ruboto IRB - SL4A connection goes, I think I must have completely made that up. ^^;

-----