views:

168

answers:

1

Is it possible to use Lua with Google App Engine? I recognize that there will be a lot of Java glue, but I would like to use Lua for most of the logic.

+6  A: 

It might be possible with a port of Lua such as Kahlua or Jill (Lua implemented in Java). The Lua Users Wiki page on Lua Implementations does not show any ports written in Python.

But you wouldn't be able to use "vanilla" Lua because that is written in C; as you're probably aware, GAE only allows Java and Python code.

Mark Rushakoff
My eyes are also on [LuaJ](http://sourceforge.net/projects/luaj/ "LuaJ")--is that a decent option as well? The biggest challenge that I see is bringing the server environment variables, etc. into Lua.
geekpreacher
@geekpreacher: LuaJ might be a good one too. It's designed to run on J2SE, and it [has a LuaJava library](http://luaforge.net/docman/view.php/457/5688/README.html) that you can use to bind Java classes into Lua. That would simplify things for your concerns.
Mark Rushakoff