lua.vm.js

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

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerdaurnimator/lua.vm.js
Primary LanguageC
Program languageJavaScript (Language Count: 8)
Platform
License:MIT License
所有者活动
Created At2013-05-19 17:25:14
Pushed At2018-07-27 08:18:28
Last Commit At2016-09-01 00:46:22
Release Count0
用户参与
Stargazers Count837
Watchers Count59
Fork Count102
Commits Count199
Has Issues Enabled
Issues Count59
Issue Open Count15
Pull Requests Count5
Pull Requests Open Count0
Pull Requests Close Count3
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private