News for hackers. Stuff that matters.
Re:Zuo: A Tiny Racket for Scripting by strenholme on Friday November 11, 2022 @02:07PM (#33565220)
https://github.com/racket/zuo/blob/main/local/tree.zuo is a pretty good example.

It’s nothing like Bash; it’s a Lisp dialect.

The obvious comparison is Lua, which is generally the standard embedded language people use when a scripting language needs to be tiny. I compared its size; Zuo is 55% the size of Lua, so apples to apples, Zuo is only a little over half the size of Lua. On the other hand, Lua uses a Pascal like syntax which is a good deal more Bash like than Zuo.

Re:Zuo: A Tiny Racket for Scripting by cheaprentalyeti on Friday November 11, 2022 @02:12PM (#33565312)
Zua?
Re:Zuo: A Tiny Racket for Scripting by strenholme on Friday November 11, 2022 @02:25PM (#33565501)
Is Zua a Lua variant the size of Zuo? I like the idea.

Going back to the Bash comparison, Bash is huge but the subset ash is pretty small, somewhat smaller than Zuo. Busybox’s AWK is, as I recall, about half the size of Zuo. We can have a POSIX compliant scripting setup (ash + AWK) using around the same amount of space Zuo takes up.

Re:Zuo: A Tiny Racket for Scripting by tekknolagi on Friday November 11, 2022 @03:19PM (#33566251)
There's minilua (https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/host/minilua....) which is used to build LuaJIT (dynasm, etc)