lua-users home
lua-l archive

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


Announcing yet another Lua implementation for JavaScript: lua5.1.js.

https://github.com/logiceditor-com/lua5.1.js

lua5.1.js is a JavaScript library, providing low-level access to Lua
5.1 VM — it exposes Lua C API to the JavaScript code.

Here is a Hello, world example:

https://github.com/logiceditor-com/lua5.1.js/blob/master/example/helloworld/index.html

Lua VM, used in lua5.1.js, is an original feature-complete 5.1
implementation, built with emscripten[1].

* * *

This release is a "community preview". It is not well tested and
probably is not yet suitable for production. But if you can spare a
moment, please give it a try and provide feedback.

* * *

A TODO list for future releases:

https://github.com/logiceditor-com/lua5.1.js/blob/master/TODO

* * *

Why not lua.vm.js[2]?

1) The lua.vm.js is Lua 5.2, we need Lua 5.1.

2) The lua.vm.js code is pretty much a prototype, which has to be
heavily refactored to be useful in production. Better to start from
scratch.

* * *

All and any feedback welcome!

Alexander.

[1] — emscripten.org
[2] — https://github.com/kripken/lua.vm.js