Skip to content

Installation

Install luarocks, a package manager for Lua modules. Then install it as a Lua module and executable with:

Terminal window
luarocks install yuescript

Or you can build yue.so file with:

Terminal window
make shared LUAI=/usr/local/include/lua LUAL=/usr/local/lib/lua

Then get the binary file from path bin/shared/yue.so.

Clone this repo, then build and install executable with:

Terminal window
make install

Build YueScript tool without macro feature:

Terminal window
make install NO_MACRO=true

Build YueScript tool without built-in Lua binary:

Terminal window
make install NO_LUA=true

You can download precompiled binary files, including binary executable files compatible with different Lua versions and library files.

Download precompiled binary files from here.

YueScriptCompiler

Loading compiler…