What a script reaches for, on demand: a recursive walk (lazy, or sorted), a copy, a glob, a set of texts — each a method that loads the library on use.
loft install script
use script;
| Guide | none yet — the API reference and the source below are what there is |
|---|---|
| Version | 0.4.0 — published 2026-10-20 |
| Categories | Command line |
| Requires | loft >=2026.10.0 |
| Compatibility | API: no earlier release is a drop-in · stored data: drop-in for 0.1.0 and later |
| Download | 6 kB |
| Public API | 11 items, with their documentation |
| Dependencies | none |
| Used by | no other registry package — you would be the first |
| Loads itself for | text.walk() · text.walk_sorted() · text.copy_to() · text.glob() · sorted<Word[key]>.has() · sorted<Word[key]>.put() · sorted<Word[key]>.minus() · sorted<Word[key]>.words() · fn.set() — these resolve with no use line |
| Source | read it here — the libraries are written in loft |
| Repository | https://github.com/loft-lang/loft-libs-core/tree/main/script |
A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.