Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 17, 2018. It is now read-only.
/lua.vm.jsPublic archive

The project is superceded by Fengari. Seehttps://fengari.io/

License

NotificationsYou must be signed in to change notification settings

daurnimator/lua.vm.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, runmake emscripten in thelua 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.

About

The project is superceded by Fengari. Seehttps://fengari.io/

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp