Lua Projects
Lua Pattern View
This is a simple Eclipse plugin
which lets you test Lua
patterns in an Eclipse view. It is effectively a GUI wrapper
around the standard string.find
function. This plugin requires Eclipse 3.1 or higher.
This download comes bundled with the LuaJava Plugin
for Eclipse, as well as source code released under the MIT License.
Download LuaPatternView
bundled with a patched LuaJava (v1.0, released Nov.07.2005).
Curretly, The download only contains a version of LuaJava compiled for
MacOSX (see notes below to make your
own).
In the coming weeks, I hope to include Win32-x86 and linux-x86 versions.
To install, simply unzip the archive into your Eclipse directory and
restart Eclipse.
To display the view, go to Eclipse's 'Window' menu, select 'Show View',
and select 'Lua Pattern' under the 'Lua' category.

LuaJava Plugin for Eclipse
LuaJava is a Java
library (with a native component) that allows one access Lua from Java
and vice-versa. In order to properly work with Eclipse, a Java
library needs to be wrapped into an Eclipse plugin. The nice thing
about this is that it takes care of both class path and native library
path issues.
With this plugin installed, you can make your own Eclipse plugins
that use Lua. This was the first step to making the
LuaPatternView.
Please note that I am distributing a slightly
modified version of LuaJava. I applied this
patch to it and have reversed the order of return arguments of LuaObject::call.
This patch only affects the JAR, not the native library. As far
as my understanding goes, I am not violating any licenses by doing
this. If I am incorrect, please notify me.
Using Your Own Builds of LuaJava
This "wrapper" plugin is mostly scaffolding. It is easy to
supply your own patched LuaJava, which could contain
your own modifications to Lua or LuaJava, including compiled-in
libraries, different versions of Lua, etc.
Within the distribution is the folder 'plugins/LuaJava_1.0.0'.
To change the Java classes, just swap out luajava-1.0.jar with your
own. To change the native library, put your built native library
in the appropriate folder in the 'os' directory (os/linux/x86,
os/linux/ppc,
os/linux/x86-64, os/win32/x86, etc.). Currently only
macosx/ppc is populated, but I have a directory tree included for
future builds...
Contact
For bug reports, feature requests, or anything else, please email: lua
at neomantra dot net.
Last
Modified: Nov.07.2005