lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


JLua is an incomplete implementation of Lua in Java similar to Jython
in need of help from volunteers.  You can find the sources at

    http://www.ccs.neu.edu/home/ramsdell/tools/

STATUS

The lexical scanner and the parser are fully functioning.  A past
version was able to correctly print Lua source from the syntax tree
produced by the parser.

The next milestone is to translate Lua into Java source code, write it
to disk, and then compile and load it.  The implementation uses flat
closures.  The variable binding analysis has been completed, however,
only some of the code generators are complete.  The parallel
assignment statement was the last focus of activity.

The final milestone is to translate Lua into Java Bytecode and load
them directly from memory.  In other words, the plan is to write the
translation of Lua functions in classfile format into byte arrays, and
then load them via a tailored classloader.  The particular way in
which Java source is produced for the previous milestone was selected
as it models the bytecode in memory generation model.

My current work responsibilities include no use for Lua, so I find it
hard to allocate time for this project.  This is the reason I am
seeking volunteers.

JLua is covered by the MIT License.  See

  http://www.opensource.org/licenses/mit-license.html

Copyright (c) 2002 by John D. Ramsdell

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

John