/luauc

Simple Native Luau Bytecode File Runner

Primary LanguageC++MIT LicenseMIT

luauc

Simple Native Luau Bytecode File Runner

Build

(If on GNU/Linux, with cmake and g++)

  • Clone the Repository (Recursively)
git clone --recursive https://github.com/regginator/luauc.git
cd luauc
./build.sh

Or, manually..

mkdir -p luau/build
cmake -S luau -B luau/build -DCMAKE_BUILD_TYPE=Release
cmake --build luau/build --config Release --target Luau.VM

g++ -std=c++17 -O2 -Wall -Wextra -o luauc luauc.cpp -Lluau/build -lLuau.VM
strip -s luauc

Usage

$ luauc
Usage: luauc <INPUT_FILE>