lua-users home
lua-l archive

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


On the hot heels of yesterday release, a next one.

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].

* * *

In this release a tools to create Lua script bundles was added. You
can now bundle your existing
code to a JavaScript bundle file, and run it from JavaScript code with
minimum of fuss.

Here is an example:

https://github.com/logiceditor-com/lua5.1.js/tree/master/example/packer

This release is still 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


* * *

All and any feedback welcome!

Alexander.

[1] — emscripten.org

P.S. Rockspecs for the packaging tool:

https://raw.github.com/logiceditor-com/lua5.1.js/master/rockspec/lua5.1.js-file-packer-0.9.1-1.rockspec
https://raw.github.com/logiceditor-com/lua5.1.js/master/rockspec/lua5.1.js-file-packer-scm-1.rockspec