is LuaJava a must for this? or can I embed lua into java without it?
A:
There is http://www.keplerproject.org/luajava/manual.html, but essentially lua is more suitable for integration with C. There are a bunch of other scripting languages with good java integration around though. Consider groovy, jruby or jython for starters.
Manfred Moser
2010-01-21 22:46:51
in this case I am stuck with lua otherwise I would go with jython being a python fan boy
anon
2010-01-21 22:54:59
To embed Jython is trivial, if that helps :P
gpampara
2010-01-22 06:50:18
A:
Lua is a C library, you can embed it in Java but you'll have to interface the java virtual machine and Lua with some C code.
The LuaJava authors have already done that work - you're better off using that than writing your own.
nos
2010-01-21 22:57:47
A:
LuaJ is easy to embed in Java. I did have to change a few lines of their source to get it to work how I expected (it didn't require the IO library automatically).
Ben Ziegler
2010-03-24 13:36:36