Skip to content
Lua compiled to WebAssembly
Branch: master
Clone or download
Latest commit 15bb0e8 Apr 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Improved codebase readability, readme. Added wapm integration Apr 10, 2019
lua Improved codebase readability, readme. Added wapm integration Apr 10, 2019
.gitignore Improved codebase readability, readme. Added wapm integration Apr 10, 2019
README.md
build.sh Fix typo in build.sh Apr 25, 2019
lua.wasm Updated lua make to use normal longjmp Apr 10, 2019
wapm.toml convert abi to lowercase Apr 16, 2019

README.md

Lua

You can install Lua with:

wapm install lua

Running

You can run lua cli

$ wapm run lua
Lua 5.4.0  Copyright (C) 1994-2018 Lua.org, PUC-Rio
>

You can also run specific files

$ wapm run lua examples/helloworld.lua
Hello World

Building from Source

You will need Emscripten SDK (emsdk) to build the lua.wasm file.

Steps:

  1. Setup emsdk (>= 1.38.11), see Installation Instructions
  2. Run bash build.sh
You can’t perform that action at this time.