Show HN: Lush extends Lua with string interpolation and other useful features

2 thiagomg 2 7/6/2025, 6:34:14 AM crates.io ↗

Comments (2)

jqpabc123 · 13h ago
So shell scripts frequently fail due to variations and a lack of consistency in their runtime environment.

What will prevent this new interpreter from developing the same issue over time?

thiagomg · 1h ago
My plan to have it with batteries included is to reduce the chance of it happening. Most of the times my bash scripts fail are due to:

1. bash heavily rely on OS tooling for almost everything, which is not bad per se, but adds more variation. Lua is a more complete programming language and the idea is that except for invoking external binaries to do things like copying files, talking to AWS, etc, you have everything you need in this lua runtime on steroids. 2. Instead of using the system-installed bash, you can copy Lush binaries instead of relying on the system installed one

Currently, the only dependencies of lush are libssl.so, libcrypto.so and libgcc_s.so. At some point, I plan also to get all static, so there will be no dependencies, no even libgcc