lua package icon
syrusakbary/lua
Public
wasmer run syrusakbary/lua

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

Lua is a lightweight, multi-paradigm programming language designed primarily for embedded use in applications


Github