ash-stdlib
v0.1.0MITThe optional standard library for Ash: collections, I/O, JSON, math, time, CLI and test helpers, plus pure-Ash models of networking, web, game and desktop APIs
Linked from github.com/lennoxrose/ash-stdlibREADME from GitHub (main)
ash-stdlib
The optional standard library for Ash, written in Ash. The compiler itself only contains the
types it cannot work without (ash.lang, the functional interfaces and ash.util.Iterator);
everything else lives here:
| Package | Contents |
|---|---|
ash.util | List, ArrayList, Map, HashMap, Set, HashSet, Optional, Result, Stream, Collector(s) |
ash.io | Files, Path |
ash.json | Json |
ash.math | Numbers |
ash.time | Duration |
ash.cli | Args |
ash.test | Assert, AssertionError |
ash.concurrent | Executor, Future, Thread (run on the caller; the VM has no threads) |
ash.net | Url, Http (parsing only; no sockets) |
ash.web | Request, Response, Handler, Router (no server socket) |
ash.game | Vec2, GameLoop (fixed-step, no clock) |
ash.desktop | Widget, Label, Button (text rendering, no window) |
License
MIT, see LICENSE. Made by lennoxrose.
Use
With apm, from your project directory:
apm init
apm add github:lennoxrose/ash-stdlib # recorded in ash.pkg, installed into ./@ash-modules/ash-stdlib
apm install # restores everything listed in ash.pkg
ashvm run src/main/ash/Main.ash
Without it, point the compiler at a checkout:
ASH_PATH=/path/to/ash-stdlib/src/main/ash ashvm run Main.ash
Native methods carry @Lower("...") templates that name operations of the compiler's internal
IR (hearth/front/src/jlower). Changing a template means changing the compiler too.
Install
$ apm add github:lennoxrose/ash-stdlibRecorded in ash.pkg and installed into ./@ash-modules/ash-stdlib.
- Repository
- github.com/lennoxrose/ash-stdlib
- Homepage
- github.com/lennoxrose/ash-stdlib
- Report a bug
- github.com/lennoxrose/ash-stdlib/issues
- License
- MIT
- Version (from ash.pkg)
- 0.1.0
- Author
- lennoxrose
- GitHub stars
- 0
- Open issues
- 0
- Last pushed
- Oct 18, 2026
- Keywords
- ashstdlibstandard-librarycollectionsjsonio
This page is a hub entry
APMH shows data from GitHub. The code is never copied or hosted here.