Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

oAGoulart/srlua-vc

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srlua-vc

Platform GitHub release (latest by date) License

Modified version of srlua for MSVC (v145) using version 5.5 of Lua.

Quote from the original README:

This is a self-running Lua interpreter. It is meant to be combined with a Lua program into a single, stand-alone program that will execute the given Lua program when it is run.

The command-line arguments will be available to the Lua program in a table called "arg" and also as '...'. All standard Lua libraries will be available too. If you want to use a different set of libraries, just copy linit.c from the Lua source, add it to srlua.c, and edit loadedlibs and preloadedlibs to suit your needs (lualibs in Lua 5.1).

Usage

After building the VS Solution you'll find all binaries inside the dist/ folder, to create your own binaries from a Lua script just do:

srglue srlua.exe prog.lua prog.exe

Where prog.lua is your main lua script (it can be a luac file too) and prog.exe is the output binary.

Contributions

Feel free to leave your contribution here, I would really appreciate it! Also, if you have any doubts or troubles using this tool just contact me or leave an issue.

About

Modified version of srlua for MSVC using version 5.5 of Lua.

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.