lua-users home
lua-l archive

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


Alexander Gladysh wrote:
On Tue, Jul 20, 2010 at 13:16, Matthew Wild wrote:
On 20 July 2010 09:18, Alexander Gladysh wrote:
On Tue, Jul 20, 2010 at 11:19, Kristofer Karlsson wrote:
On Tue, Jul 20, 2010 at 8:47 AM, Alexander Gladysh wrote:
[snipped]
It's only a VM, which means that scripts either need to be compiled
offline, or someone needs to write a compiler in Lua or Javascript. In
fact (although I haven't looked at it yet) the former has already been
done as far as I know: http://yueliang.luaforge.net/ - so if one
wanted to compile scripts live in the browser, Yueliang could be
compiled offline and run in the VM in the browser to compile them.

From what I hear, Yueliang is often used to bootstrap alternative Lua
implementations.

And a good thing too, since Yueliang is never meant to be maintained, so serious projects that wish to attract and build a user base should arrange for taking care of their own codebase, e.g. fork, rewrite, bootstrap, etc.

There's also this for the VM engine, though I don't recall the author posting around these parts:

  http://luaforge.net/projects/lulu/

Not sure how much of Lua is implemented, but it is impressively small.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia