Skip to content

plusgiant5/runluau

Repository files navigation

The Modular Luau Runtime

Fast, small, simple, intended to be modified.

How To Build

  1. Clone Luau using Visual Studio.
  2. Set the Windows environment variable %LUAUSRC% to the path to the cloned Luau repo.
  3. Clone runluau (this repo) using Visual Studio.
  4. Clone runluau-plugins with Visual Studio, and make sure it's in the same folder that runluau was cloned into.
  5. No x86 support by default. Pick x64 Release or x64 Debug configurations for Luau, runluau, and runluau-plugins inside Visual Studio.
  6. For your first build, build Luau first, then runluau, then runluau-plugins. After, you can do any in any order.
  7. Use in the out folder.

Linux/Mac Support?

Would be a very difficult feat, as the plugins system is based off loading DLLs, and the build system generates Windows executables.

Command Line Arguments

You can read the arguments passed into a Luau script simply by using ... in the global scope. It will be a tuple of strings.