All Projects → daurnimator → Lua.vm.js

daurnimator / Lua.vm.js

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

Programming Languages

javascript
184084 projects - #8 most used programming language
c
50402 projects - #5 most used programming language
lua
6591 projects

Projects that are alternatives of or similar to Lua.vm.js

Wac
WebAssembly interpreter in C
Stars: ✭ 372 (-54.19%)
Mutual labels:  emscripten
Camaro
camaro is an utility to transform XML to JSON, using Node.js binding to native XML parser pugixml, one of the fastest XML parser around.
Stars: ✭ 438 (-46.06%)
Mutual labels:  emscripten
Glchaos.p
3D GPUs Strange Attractors and Hypercomplex Fractals explorer - up to 256 Million particles in RealTime
Stars: ✭ 590 (-27.34%)
Mutual labels:  emscripten
Imguifiledialog
File Dialog for ImGui : https://github.com/aiekick/ImGuiFileDialog
Stars: ✭ 398 (-50.99%)
Mutual labels:  emscripten
Webm.js
JavaScript WebM converter
Stars: ✭ 428 (-47.29%)
Mutual labels:  emscripten
Deepminer
deepMiner webminer proxy (update for cryptoNight R)
Stars: ✭ 497 (-38.79%)
Mutual labels:  emscripten
Viz.js
A hack to put Graphviz on the web.
Stars: ✭ 3,602 (+343.6%)
Mutual labels:  emscripten
Pce
Emulates Mac Plus, PC, & Atari ST in the browser using WebAssembly
Stars: ✭ 659 (-18.84%)
Mutual labels:  emscripten
Edge Sql
Cloudflare Workers providing a SQL API
Stars: ✭ 429 (-47.17%)
Mutual labels:  emscripten
Binaryen
Compiler infrastructure and toolchain library for WebAssembly
Stars: ✭ 5,294 (+551.97%)
Mutual labels:  emscripten
Tomb5
Tomb Raider: Chronicles Disassembly translated to C source code.
Stars: ✭ 397 (-51.11%)
Mutual labels:  emscripten
H3 Js
h3-js provides a JavaScript version of H3, a hexagon-based geospatial indexing system.
Stars: ✭ 418 (-48.52%)
Mutual labels:  emscripten
Imgui Js
JavaScript bindings for Dear ImGui using Emscripten and TypeScript
Stars: ✭ 510 (-37.19%)
Mutual labels:  emscripten
Ncine
A cross-platform 2D game engine
Stars: ✭ 372 (-54.19%)
Mutual labels:  emscripten
Ouzel
C++ game engine for Windows, macOS, Linux, iOS, tvOS, Android, and web browsers
Stars: ✭ 607 (-25.25%)
Mutual labels:  emscripten
Glfm
OpenGL ES and input for iOS, tvOS, Android, and WebGL
Stars: ✭ 364 (-55.17%)
Mutual labels:  emscripten
Brfv4 javascript examples
BRFv4 - HTML5/Javascript - examples project. Reference implementation for all other platform example packages.
Stars: ✭ 460 (-43.35%)
Mutual labels:  emscripten
Cib
clang running in browser (wasm)
Stars: ✭ 685 (-15.64%)
Mutual labels:  emscripten
Securityworker
The best javascript code protection solution ever.
Stars: ✭ 626 (-22.91%)
Mutual labels:  emscripten
Humblenet
a cross-platform networking library that works in the browser
Stars: ✭ 515 (-36.58%)
Mutual labels:  emscripten

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].