EMILUA(3em)
π
EMILUA (3em) β the em manual, bestie edition π
Okay so real talk: this page is all about Emilua, the Lua execution engine, and no cap it's a tiny page β but we're gonna treat it with the respect it deserves. β¨
πΈ NAME πΈ
Emilua β the Lua execution engine. That's her. That's the whole vibe. π
π¦ SYNOPSIS π¦
Like, here's literally the shape of it:
local fs = require "filesystem"
fs.weakly_canonical(p: fs.path) -> fs.path
First you pull in the "filesystem" module with require and stash it in fs, then you call fs.weakly_canonical on a fs.path and it hands you back another fs.path. Simple as that, iykyk. π
β¨ DESCRIPTION β¨
So fs.weakly_canonical(p) returns a path in normal form that references the same file system location as p.
That's it. That's the function. She's lowkey iconic for being this straightforward β no drama, no surprises, just a tidy normal-form path pointing at the exact same spot as p. π«Ά
Not me being obsessed with a one-line descriptionβ¦ but honestly? Slay. π
π§ a lil sign-off π§
This absolute gem came from Emilua 0.12.1-nixpkgs1, dated 1980-01-01 β yes, that date is real, and yes, it's giving main character energy. πβ
Byeee, go canonicalize something (weakly, obviously). ππ¦
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms