r/lua • u/Pristine_Video2489 • Jul 16 '26
wisp – A Linux shell where config is Lua and pipelines pass tables
I built a Linux shell where configuration and scripting are just Lua, no DSL, no extra syntax.
Any global function in ~/.config/wisp/init.lua becomes a shell command. Pipelines pass Lua tables (structured data) between stages, not text. Only external commands like `wc -l` cause a fork, native stages run in-process.
**Why this matters for Lua users:** - Your shell config is just Lua (closures, loops, conditionals) - No need to learn a separate shell scripting language - Lua functions become commands naturally
**GitHub:** https://github.com/Hinikaa/wisp
Would love feedback from other Lua users!
23
u/GaboureySidibe Jul 17 '26
Negative karma, hidden post history, everything committed at once a few days ago, lots of red flags for vibe slop.
3
u/Cultural_Two_4964 Jul 17 '26
Cheeky question but you could probably calculate fib(30) with pen, paper and a pocket calculator in less than 496 seconds. Isn't there a formula to do this a quick way, due to Euler or something. Maybe this comparison isn't strictly fair.
3
u/questron64 Jul 17 '26
So PowerShell, but cool.
1
u/Sorrow_iDolour Jul 17 '26
Good shell dude, just wonder without makefile, can you implement a bootstrap script(which is clean and maintainable) in lua for building wisp?
1
u/Pristine_Video2489 Jul 17 '26
If you're curious about the performance angle: wisp computes fib(30) in 13ms vs bash's 496s (~38,000x faster). Full benchmarks in the README. The project is fully opensource. This is a v1.
1
u/Mig_Moog Jul 17 '26
Great idea! Will try