lua.vm.js

The project is superceded by Fengari. See https://fengari.io/

Github星跟踪图

lua.vm.js

The Lua VM, on the Web

Online demo: http://daurnimator.github.io/lua.vm.js/lua.vm.js.html

Status

This began as an experiment to see how fast the Lua VM can run on the web.
That was successful (performance is quite good in both firefox and chrome).

Next step is to iterate on the Lua <=> JS interoperability.
Clever solutions to the lack of finalisers in Javascript are being searched for.

Building

To build, run make emscripten in the lua subdirectory

Usage from NodeJS

$ npm install lua.vm.js

And inside your script:

var LuaVM = require('lua.vm.js');

var l = new LuaVM.Lua.State();
l.execute('print("Hello, world")');

License

This project is MIT/X11 licensed. Please see the COPYING file in the source package for more information.

Copyright (c) 2013 Alon Zakai (kripken)
Copyright (c) 2014-2016 Daurnimator

Lua is licensed under MIT.

主要指标

概览
名称与所有者daurnimator/lua.vm.js
主编程语言C
编程语言JavaScript (语言数: 8)
平台
许可证MIT License
所有者活动
创建于2013-05-19 17:25:14
推送于2018-07-27 08:18:28
最后一次提交2016-09-01 00:46:22
发布数0
用户参与
星数837
关注者数59
派生数102
提交数199
已启用问题?
问题数59
打开的问题数15
拉请求数5
打开的拉请求数0
关闭的拉请求数3
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?