← All projects
Project record1 mention
Originally shared on Hacker News

Lua system scripting framework

A Lua scripting framework for system scripting on POSIX systems. It enforces non-globals, provides a project hierarchy for tests and documentation, offers CLI access to .md package docs, installs scripts in the path, extends the Lua stdlib (fs.mkdir, os.realpath), and supports module autoloading/lazyloading. It targets Lua 5.4 and LuaJIT, starts entirely in Lua, and has a long-term goal of compiled Lua modules (merging Wax).

Last shared For Lua users doing system scripting on POSIX systems
01 / The problem

What it addresses

Lua system scripts lack an easy way to reuse libraries, and creating Luarocks packages or dealing with unstandardized ways to write code makes Lua scripting a rough experience compared to Sh, Python, or Ruby.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Lua system scripting framework

    A Lua scripting framework for system scripting on POSIX systems. It enforces non-globals, provides a project hierarchy for tests and documentation, offers CLI access to .md package docs, installs scripts in the path, extends the Lua stdlib (fs.mkdir, os.realpath), and supports module autoloading/lazyloading. It targets Lua 5.4 and LuaJIT, starts entirely in Lua, and has a long-term goal of compiled Lua modules (merging Wax).

    Problem: Lua system scripts lack an easy way to reuse libraries, and creating Luarocks packages or dealing with unstandardized ways to write code makes Lua scripting a rough experience compared to Sh, Python, or Ruby.

    Audience: Lua users doing system scripting on POSIX systems

    Posted by @arkt8 · Original source ↗

    Source text · @arkt8 · · Source ↗

    In a Lua scripting framework to: - enforce non-globals - project hierarchy (for tests and documentation) - cli access for .md package docs - installation in path - extension of Lua stdlib (fs.mkdir, os.realpath) - module autoloading/lazyloading