Neopallium/slua
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
README for slua === Requires === === Compile === * mkdir build * cd build for Release build: * cmake .. -DCMAKE_BUILD_TYPE=Release for Debug build: * cmake .. -DCMAKE_BUILD_TYPE=Debug * make === Install === * make install === Patches to lua/src === * Emergency Garbage Collector: http://lua-users.org/wiki/EmergencyGarbageCollector * LuaCoco-1.1.6: http://luajit.org/coco.html + (x86_64 support added) * a few hooks where added to support static compiled functions. === Programs === * slua: This command can be used to run Lua script. It doesn't have JIT support! * sluac: This command compiles Lua scripts into C code which calls lua vm ops functions. * slua-compiler: This is a bash script that wraps sluac to compile Lua scripts into standalone executables or loadable modules. === Libraries === -- static & dynamic libraries for linking into host app. * libslua_static.a & libslua.so -- Used for compling Lua scripts to standalone executables. * liblua_main.a === Using slua === 'sluac' alone can only compile Lua scripts to Lua bytecode or C code. A wrapper script called 'slua-compiler' is provided that wraps 'sluac' and gcc. Compile standalone Lua script: slua-compiler script.lua outputs: ./script Compile Lua script as a module: slua-compiler -lua-module script.lua outputs: ./script.so
About
Static lua compiler - Compile Lua code into C code.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published