SkillAgentSearch skills...

LuaConsole

A next-gen, Cross-Platform [Lua-5.1.x, LuaJIT-2.0, Lua-5.2.x, Lua-5.3.x, Lua-5.4.x]-supporting CLI made to supersede PUC-Lua and LuaJIT CLI

Install / Use

/learn @tilkinsc/LuaConsole

README

LuaConsole

LuaConsole

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

All Contributors

<!-- ALL-CONTRIBUTORS-BADGE:END -->

License Codecov Gitter.im travis-ci Build status

English Spanish German Portuguese Russian Chinese

Paypal

LuaConsole is a next-gen, Cross-Platform [Lua-5.1.x, LuaJIT-2.0, Lua-5.2.x, Lua-5.3.x, Lua-5.4.x]-supporting CLI made to supersede PUC-Lua and LuaJIT CLI

For more information, visit LuaConsole Github Website and the LuaConsole Github Wiki!

Goals

  • Be a better CLI application than PUC-Lua/LuaJIT
  • Support everything compatible with PUC-Lua and LuaJIT
  • Prevent messy, obfuscating code
  • Be CLI dependent and independent
  • Multiplatform - Linux, Windows, Mac (unofficial)

Building

Windows/Linux Build Instructions

Using with LuaRocks

LuaRocks Support

Using with LuaDIST

LuaDist Support Windows, Linux, MacOS

Testing

Linux

# Help command
luaw --help /? -?

# REPL Mode
luaw
luaw -p

# From the command
luaw res/testing.lua -Dtest=5 -n a b c
luaw -lres/testing.lua -Dtest=5 -n a b c
luaw -Dtest=5 -n a b c - < res/testing.lua

# With Shebang enhancements found below
res/testing.lua -Dtest=5 -n a b c

# Using cat
cat res/testing.lua | luaw -Dtest=5 -n a b c -

# From inside Lua
luaw -e "dofile('res/testing.lua')" -Dtest=5 -n a b c
luaw -e "dofile('testing.lua')" -s res -Dtest=5 -n a b c

# stdin:
luaw -
dofile('res/testing.lua')
<Ctrl + d>
<Enter>

Windows

REM Help command
luaw --help /? -?

REM REPL Mode
luaw
luaw -p

REM From the command
luaw res/testing.lua -Dtest=5 -n a b c
luaw -lres/testing.lua -Dtest=5 -n a b c
luaw -Dtest=5 -n a b c - < res/testing.lua

REM With Windows Registry enhancements found below
res\testing.lua -Dtest=5 -n a b c
res\testing -Dtest=5 -n a b c

REM Using type
type res\testing.lua | luaw -Dtest=5 -n a b c -

REM From inside Lua
luaw -e "dofile('res/testing.lua')" -Dtest=5 -n a b c
luaw -e "dofile('testing.lua')" -s res -Dtest=5 -n a b c

REM stdin
luaw -
dofile('res/testing.lua')
<Ctrl + z>
<Enter>

Bonus

Contributors ✨

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="http://tilkinsc.github.io"><img src="https://avatars.githubusercontent.com/u/7494772?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tilkinsc</b></sub></a><br /><a href="https://github.com/tilkinsc/LuaConsole/commits?author=tilkinsc" title="Code">💻</a> <a href="#content-tilkinsc" title="Content">🖋</a> <a href="https://github.com/tilkinsc/LuaConsole/commits?author=tilkinsc" title="Documentation">📖</a></td> <td align="center"><a href="http://darkwiiplayer.com"><img src="https://avatars.githubusercontent.com/u/1252859?v=4?s=100" width="100px;" alt=""/><br /><sub><b>DarkWiiPlayer</b></sub></a><br /><a href="https://github.com/tilkinsc/LuaConsole/commits?author=DarkWiiPlayer" title="Code">💻</a></td> <td align="center"><a href="https://github.com/acidicMercury8"><img src="https://avatars.githubusercontent.com/u/24611394?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Felix Lewandowski</b></sub></a><br /><a href="#translation-acidicMercury8" title="Translation">🌍</a></td> </tr> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!

Related Skills

View on GitHub
GitHub Stars66
CategoryCustomer
Updated5mo ago
Forks8

Languages

C

Security Score

97/100

Audited on Oct 29, 2025

No findings