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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?