Standard Library
345 Modules
Every module under lib/stdlib/*.ilu ships with the language. Import with use name. Click any module name to read its full documentation.
No modules match your search.
Core & runtime
50 modules| Module | Description |
|---|---|
arena |
Memory allocators |
args |
CLI argument parsing |
async |
Spawn concurrent tasks, wait for them, run all in parallel, race to first result, sleep. |
bench |
Benchmarking and performance measurement |
bnch |
Benchmarking utilities |
boot |
Bootstrap orchestrator |
buf |
Byte buffer |
clp |
Minimal plugin CLI command dispatcher |
colr |
Color utilities |
conc |
Concurrency primitives |
core |
Core dump analysis and memory forensics |
cov |
Code coverage tracking |
dbg |
debugging, introspection, breakpoints, stack traces, REPL hooks. |
emit |
Unified compiler output layer |
env |
Environment variable management |
eru |
`{val,err}` + `er` records (`k`,`m`). |
evt |
simple pub/sub event bus. |
fmt |
ilusm code formatter |
heap |
Binary min-heap / max-heap with custom comparators. |
host |
Host syscall bridge |
inf |
Infrastructure, deployment, containers, cloud. |
io |
Core filesystem I/O surface |
log |
structured logging: levels, fields, sinks, formatters. |
lru |
LRU cache with optional TTL |
mem |
Memory management |
memx |
Memory extensions and advanced memory management. |
mth |
math domain (numeric stdlib). |
obs |
Observability |
pfl |
lightweight profiling domain (wall-time based). |
proc |
process domain: exec (`__os_run`), argv, cwd, pid, console stdin/stdout (see `docs/SYSCALL |
prof |
CPU/memory profiling hooks, flame graph data, hotspot detection. |
ptr |
Boxed mutable references |
rand |
High-level random: shuffle, sample, weighted choice, distributions. |
ring |
Ring buffer (circular buffer) with fixed capacity |
sig |
In-process logical signals |
snap |
# snap - snapshot/golden file testing. |
stk |
Stack (LIFO) data structure |
sto |
# sto - localStorage/sessionStorage wrapper. |
syn |
Concurrency primitives |
sysc |
raw OS syscall surface. Host: __sys_syscall(nr, args) → {ret: num, errno: num} (errno 0 = |
tag |
Build constraints and feature tags |
term |
Terminal utilities and ANSI escape sequences |
test |
Test runner, assertions, coverage, mocking. |
tim |
Time operations |
trcx |
Tracing domain |
trl |
list transforms. Pure ilusm prelude. |
txt |
text transforms. Pure ilusm. |
uid |
# uid - UUID v4/v7 and ULID generation. |
uns |
Unsafe opt-in operations |
val |
# val - form validation. |
Text & data
42 modules| Module | Description |
|---|---|
avro |
Apache Avro schema definition and binary codec |
b64 |
Base64 encoding and decoding |
bin |
Binary data |
bit |
Bitwise operations and bit manipulation |
bson |
BSON encode/decode |
cal |
Calendar and scheduling |
cmpz |
In-process multi-algorithm compression |
crc |
CRC32/CRC16 checksums for data integrity and network protocols. |
csv |
CSV parsing and writing (RFC 4180 compatible). |
dif3 |
Three-way merge for VCS-style conflict resolution |
diff |
Line-by-line and word diff |
enc |
Pure-ilusm encoding utilities |
geo |
2D/3D geometry, vectors, shapes. |
hash |
Hash identification, password cracking, rainbow tables, salted hashes, PBKDF2, and timing- |
hsh |
Hash identification, cracking, rainbow tables. |
ical |
iCalendar (RFC 5545) serialization and parsing. |
ics |
ICS/SCADA protocol fuzzing and testing, Modbus, DNP3, SCADA. |
ini |
INI and <code>.env</code> config file support |
jsn |
JSON convenience wrapper |
json |
Pure ilusm JSON encoder/decoder |
mapx |
Hash-table style key/value maps over ilusm objects |
mime |
MIME type lookup and Content-Type handling |
mpk |
MessagePack subset (bytes as str, U+00..FF per char). use mpk as m → m.bin, m.val, …. |
ndj |
Newline-delimited JSON (NDJSON / JSONL) |
path |
# path - cross-platform path utilities. |
pth |
Path utilities (join, split, normalize). |
regex |
Regex builder DSL with named groups, composition, and testing. |
rex |
Regular expressions |
set |
List-backed sets for small collections |
sidx |
Small in-memory inverted index with TF-IDF scoring |
slc |
Slice domain over ilusm lists |
sort |
Sorting algorithms |
stm |
Curried pipeline operators for <code>|></code> |
tar |
tar archive reading/writing (POSIX ustar format). |
tbl |
Object-as-map table helpers |
tmpl |
Template engine with Handlebars-style syntax |
toml |
TOML parser and serialiser |
tpl |
tiny templating domain (${name} replacement). |
url |
URL parsing, building, and query-string manipulation |
xml |
XML parsing, serialization, XPath queries. |
yaml |
YAML parsing and serialization. |
zip |
Compression, archives, gzip, zlib. |
File system & OS
12 modules| Module | Description |
|---|---|
blk |
Ethereum and Web3 client |
cbin |
Narrow big-endian row codec for legacy network packets |
daem |
Daemon and service management |
fs |
Filesystem access |
glob |
File glob pattern matching |
mmap |
Memory-mapped file I/O for high-performance data access. |
os |
OS thin wrapper |
pipe |
IPC: named pipes, Unix domain sockets, shared memory regions. |
pkg |
Ilusm package manager, registry, dependency resolver. |
sttc |
Static binary compilation, cross-compilation. |
vfs |
Virtual filesystem overlay |
wch |
File change detection via SHA-256 digest polling |
Networking
37 modules| Module | Description |
|---|---|
can |
CAN bus and automotive security |
dns |
DNS operations, tunneling, zone transfers, enumeration. |
email |
SMTP mail objects, templates, validation (host `__smtp_*`). |
eml |
Minimal outbound email surface |
ftp |
FTP/SFTP client: connect, list, get, put, delete. |
grpc |
gRPC client/server, protobuf, streaming. |
gsm |
GSM/3G/LTE hacking, cell tower spoofing, SMS interception. |
http2 |
HTTP/2 client surface |
icmp |
ICMP ping, traceroute, host reachability. |
lora |
LoRaWAN hacking, gateway simulation, packet decoding. |
mdl |
Modal lifecycle manager |
mqtt |
MQTT client for IoT messaging (pub/sub, QoS, retained messages). |
mw |
HTTP middleware |
net |
Full networking stack |
nfc |
NFC/RFID reading, writing, cloning, MIFARE cracking. |
ntp |
NTP time synchronization: query, offset calculation, drift detection. |
ntrl |
Natural language processing utilities. |
osi |
Open Source Intelligence, username enumeration, social recon. |
proxy |
SOCKS/HTTP proxy chains, tunneling, MITM helpers. |
pxy |
SOCKS/HTTP proxy chains, tunneling, MITM helpers. |
rf |
Radio frequency scanning, jamming detection, signal analysis. |
rtc |
WebRTC, peer connections, data channels. |
rte |
HTTP path routing, parameter extraction, route matching. |
rtr |
# rtr - SPA router for frontend. |
sdr |
RTL-SDR specific operations, ADS-B, NOAA, P25. |
smtp |
SMTP email client |
srv |
HTTP server framework, request/response handling. |
sse |
# sse - Server-Sent Events. |
svc |
Service-level networking |
tls |
TLS-oriented HTTP and WebSocket helpers |
tlsx |
Extended TLS operations, cipher suites, handshake analysis. |
usb |
USB device enumeration, communication, HID, bulk/interrupt transfers. |
voip |
SIP attacks, RTP interception, PBX testing. |
wgrd |
WireGuard tunnel management |
wire |
protobuf-style varints + tags + length-delimited records (no .proto compiler). |
wsc |
WebSocket client |
wssrv |
WebSocket server, rooms, broadcasting. |
Cryptography & encoding
16 modules| Module | Description |
|---|---|
asn |
ASN.1 DER parser |
cert |
X.509 certificate management and PKI |
cry |
crypto: digests, HMAC, CSPRNG, AEAD (AES-GCM + ChaCha20-Poly1305), PBKDF2, wire envelopes. |
crya |
Advanced cryptography: symmetric/asymmetric config, KDF, cert gen, random, password hashin |
cryx |
extended cryptography: RSA, ECDSA, Ed25519, X25519, ECDH, key derivation, certificates. |
fido |
FIDO2/WebAuthn, authenticator simulation, attestation. |
hmac |
HMAC computation and constant-time comparison for auth flows. |
hsm |
Hardware Security Module integration, PKCS#11, key operations. |
jwt |
JSON Web Token manipulation, validation, attacks. |
kms |
Cloud Key Management Service adapters. |
otp |
One-time pad/token generation, disposable secrets, nonce management. |
pem |
PEM encode/decode (RFC 7468) |
pqc |
Post-quantum cryptography (ML-KEM, ML-DSA, SLH-DSA). |
saml |
SAML authentication, XML signatures, SSO testing. |
totp |
TOTP/HOTP 2FA, authenticator apps, backup codes. |
vault |
Secret management, credential storage, rotation. |
Security & offensive
24 modules| Module | Description |
|---|---|
auth |
Authentication and authorisation |
c2 |
Command & Control framework |
cap |
Named capability bundles for <code>sbx</code> sandboxes |
cve |
vulnerability database, exploit lookup, CVSS scoring. |
dos |
DoS attack patterns, amplification, slowloris, stress testing. |
fuz |
Structured fuzzing, mutation, coverage feedback. |
fuzz |
structured fuzzing, mutation, coverage feedback. |
hax |
low lvl hex, fuzz, hooks, guards. |
mal |
YARA rules, sandbox analysis, behavior detection. |
msf |
Memory safety, ownership, borrowing, lifetimes. |
opa |
policy-as-code: rule evaluation, RBAC/ABAC, decision logging. |
osint |
Open Source Intelligence, username enumeration, social recon. |
phish |
email spoofing, link manipulation, landing pages. |
pol |
permissions, ACL policy evaluation, cap sets for sandboxing (composes with sbx + cry). |
pwn |
automated exploit generation, payload crafting, vulnerability patterns. |
rbac |
Role-based access control: roles, permissions, user-role assignment. |
rce |
Remote Code Execution patterns, command injection, deserialization attacks. |
rev |
reverse engineering helpers: CFG recovery, signature matching, decompilation hints. |
sbx |
sandboxed tree-walk eval: fresh env, capability copy from parent, optional fuel/stmt/depth |
scan |
network scanning, service detection, OS fingerprinting. |
sqli |
SQL injection detection, payloads, union extraction. |
ssrf |
Server-Side Request Forgery detection, payload generation, bypasses. |
steg |
steganography (hide data in images, audio, text). |
xss |
XSS payload generation, filtering bypass, DOM analysis. |
Web & frontend
17 modules| Module | Description |
|---|---|
a11y |
Accessibility utilities |
anim |
Animation and tweening for UI/DOM |
cors |
CORS middleware for ilusm HTTP servers |
css |
CSS-in-JS, styled components, dynamic styles. |
dlg |
Modal dialog component for browser UI |
dnd |
Drag-and-drop utilities for browser UI |
dom |
Browser DOM manipulation, element selection, event handling. |
form |
Form state management: fields, validation, dirty tracking, submission. |
hot |
hot module reloading for development, file watching, live updates. |
rec |
Recommender systems: collaborative filtering, content-based, hybrid. |
seo |
Meta tags, sitemaps, robots.txt, light keyword/link helpers. |
svg |
SVG utilities (DOM via `dom` + path string fragments). |
tui |
terminal text UI + ASCII dashboards. Std tier; pure ilusm + __sys_write_stdout (SYSCALLS.m |
ui |
UI components, reactive state, components framework. |
web |
HTML escape and markup utilities |
wf |
WiFi auditing, WPA cracking, beacon analysis, deauth. |
wfrm |
High-level web framework (Express/Rails style). |
Databases & storage
11 modules| Module | Description |
|---|---|
cache |
Advanced caching strategies |
cql |
CQL / Cassandra query builder: select, insert, update, delete, batch. |
db |
Database drivers (PostgreSQL, MySQL, MongoDB, SQLite). |
kv |
Key-value store abstraction: in-memory, TTL, namespaces, persistence. |
ldap |
LDAP/Active Directory client. |
migr |
Database migration runner |
orm |
Object-relational mapper, migrations, query builder. |
red |
Minimal Redis command helpers (connection-shaped `r` with `.connection`). Prefer `redis` f |
redis |
Redis client via host `__redis_*` (connect, command, get, close). |
s3 |
Object storage (S3, GCS, Azure Blob, MinIO). |
sql |
database/sql style host wrappers (sqlite3 CLI based, file-oriented). |
Observability & tracing
6 modules| Module | Description |
|---|---|
intg |
HTTP API + embedding-vector shape domain (JSON bodies, optional OpenAI-style responses). |
klog |
keystroke injection, HID attacks, USB exploitation. |
kylg |
keystroke injection, HID attacks, USB exploitation. |
sch |
first-class schema descriptors (`{t:"sch", flds:[…]}`): defaults, diff/patch, wi |
stat |
Statistics: mean, median, stddev, percentiles, histograms. |
trc |
Distributed tracing, OpenTelemetry, Jaeger/Zipkin. |
Concurrency
2 modules| Module | Description |
|---|---|
mq |
Message queue clients (RabbitMQ, Kafka, SQS, NATS). |
que |
Background jobs, workers, scheduling. |
AI & ML
11 modules| Module | Description |
|---|---|
ai |
Numeric vectors, small matrices, activations, batching, and prompt token budgeting. Pure i |
ana |
Analytics |
cv |
Computer vision: object detection, OCR, face recognition, image analysis. |
emb |
Shallow object merge and method utilities |
kg |
Knowledge graphs, RDF, SPARQL, graph databases, reasoning. |
llm |
LLM/AI integration: OpenAI, Anthropic Claude, Ollama, local models. |
ml |
Machine learning: regression, classification, clustering, preprocessing. |
nlp |
Natural language processing: tokenization, sentiment, NER, embeddings. |
qntm |
QUANTUM DOMAIN - Quantum computing primitives and algorithms. |
qpat |
Message queue systems and patterns. |
sci |
Scientific computing, matrices, linear algebra, plotting. |
Hardware & IoT
11 modules| Module | Description |
|---|---|
adb |
Android Debug Bridge |
audio |
Audio processing and synthesis |
ble |
Bluetooth Low Energy |
gl |
WebGL, 2D/3D graphics, shaders. |
gpio |
GPIO pin control for embedded/RPi: read, write, PWM, interrupts. |
gps |
GPS spoofing, jamming, receiver testing. |
img |
Image processing, manipulation, formats. |
iot |
IoT device testing, MQTT, CoAP, Zigbee, Z-Wave. |
ir |
Intermediate representation |
snd |
Audio processing, synthesis, playback, recording, effects. |
vid |
Video processing, encoding, decoding, streaming, effects. |
Language tooling
20 modules| Module | Description |
|---|---|
asm |
Inline assembly and x86-64 JIT |
ast |
Generic abstract syntax tree |
bc |
Blockchain and distributed ledger |
cgen |
C code generation from an ilusm AST |
cmp |
File-oriented gzip and zlib compression via host tools |
comp |
ilusm AST compiler |
ffi |
Foreign function interface, call C/Rust/Python/JS. |
gen |
Generic higher-order utilities |
ggen |
Template file generator |
ilu_isa |
ISA summary and architecture introspection for the <code>pln</code> domain |
iluc |
Ilusm compiler written in Ilusm. Self-hosting compiler. |
intp |
Interpreter, REPL, debugger, bytecode. |
jit |
Just-in-time compilation, performance optimization. |
lex |
lexer for Ilusm (simplified for minimal runtime) |
lsp |
Language Server Protocol, IDE autocomplete, hover, diagnostics. |
mock |
Test mocking and stubbing |
par |
parser for Ilusm |
repl |
Interactive shell, autocomplete, history. |
tst |
# tst - toast notifications. |
vm |
VM detection, hypervisor fingerprinting, container escape testing. |
Infrastructure & cloud
13 modules| Module | Description |
|---|---|
acme |
Let's Encrypt / ACME protocol |
arn |
Arena allocators, bump allocators, object pools, fixed-size block allocators, stack alloca |
be |
Backend framework |
bld |
Build system |
dock |
Docker API client, container management, images, volumes, networks. |
dst |
Named operation hooks and message dispatch |
feat |
Feature flags, toggles, A/B testing, gradual rollouts. |
fig |
ASCII art text generation. |
rate |
rate limiting: token bucket, sliding window, leaky bucket. |
retry |
retry strategies: exponential backoff, jitter, circuit breaker. |
san |
Address sanitizer, memory sanitizer, UAF detection. |
semv |
semantic versioning: parse, compare, range matching (semver 2.0). |
tun |
ICMP tunneling, DNS tunnels, HTTP covert channels. |
Misc & domain-specific
28 modules| Module | Description |
|---|---|
anon |
Anonymity and privacy |
bio |
Buffered I/O |
bot |
Chatbot framework |
brw |
Browser automation and web scraping |
cad |
3D CAD and parametric geometry |
crm |
Customer relationship management, leads, opportunities, contacts. |
ecom |
E-commerce: cart, inventory, pricing, orders, products, checkout. |
eng |
Dependency graph engine |
eth |
raw Ethernet frame crafting, MAC operations, EtherType handling. |
exp |
binary exploitation helpers: ROP gadgets, shellcode, format strings, heap exploits. |
frn |
file carving, timeline analysis, metadata extraction. |
gam |
Game development: loop, sprites, physics, input, audio. |
grd |
Stack guards, bounds checking, overflow protection. |
guard |
Stack guards, bounds checking, overflow protection. |
hk |
hotkey registration, keyboard shortcuts, key combinations. n by prio. |
hp |
Heap / Priority Queue. |
lor |
LoRaWAN hacking, gateway simulation, packet decoding. |
mach |
Machine learning algorithms and models. |
mm |
Memory management, pools, garbage, profiling. |
msafe |
Memory safety, ownership, borrowing, lifetimes. |
mtc |
Metrics, telemetry, Prometheus, statsd. |
ntf |
Notifications (Slack, Discord, Teams, Telegram, Email). |
pay |
Payment processing (Stripe, PayPal, etc). |
pdl |
protocol DSL domain (define protocol rows in ilusm). |
prc |
Data processing, ETL, streaming, transformations. |
sat |
Satellite communication hacking, DVB-S, Iridium, Inmarsat. |
sim |
Simulation: discrete event, Monte Carlo, agent-based modeling. |
spc |
Speech: recognition, text-to-speech, voice activity detection. |
Other
45 modules| Module | Description |
|---|---|
bor |
Rust-style borrow checker and ownership analysis |
box |
Box drawing and ASCII art |
cgrp |
Linux cgroup and namespace control |
clif |
High-level CLI framework |
cms |
Content Management System |
cron |
cron expression parsing and next-run calculation. |
csp |
Content Security Policy builder for web security. |
det |
Deterministic PRNG and sort utilities |
doc |
Documentation generator |
dx |
Diagnostics, structured logging, tracing, performance profiling, error tracking. |
fe |
Frontend framework, components, state management, routing. |
ftc |
# ftc - fetch/http client for frontend. |
gql |
GraphQL schema, resolvers, execution engine. |
grf |
Graph data structure and algorithms. |
gst |
Touch and gesture handling for browser UI |
i18n |
Internationalization, localization, translations. |
ifc |
Duck-typed interface checking |
ilu |
Bytecode builder surface for the machine (<code>mch</code>) domain |
lim |
Deadlines, timeouts, and retry |
link |
Module linker and bundler |
math |
alias for mth (numeric stdlib). |
mch |
machine / bytecode domain: ILU → mcde, layout, disasm, pack, validate, VM run. |
md |
Markdown parser and HTML renderer (CommonMark subset) |
mdw |
Middleware composition |
oau |
OAuth 2.0, OpenID Connect, token handling. |
pdf |
PDF generation, manipulation, forms. |
pkm |
package ecosystem: semver, manifest/lock shapes, path resolution tree, cache paths,. |
pln |
execution tiers, bytecode version, ISA summary, light reflection. |
req |
HTTP client library (axios/fetch style). |
res |
Result type aligned with <code>try</code> |
rfl |
reflection domain (value/type/object introspection). |
rpl |
Interactive shell, autocomplete, history. |
rtl |
RTL-SDR specific operations, ADS-B, NOAA, P25. |
scn |
network scanning, service detection, OS fingerprinting. |
srch |
Search engine clients (Elasticsearch, Meilisearch, etc). |
ssh |
SSH client: connect, exec, tunnel, key auth. |
ssn |
Session management, cookies, stores. |
st |
State management, Redux-like store, slices. |
strio |
Reader/writer records |
strm |
Stream reader/writer records |
sup |
Support utilities, logging, config, helpers. |
ts |
Time series, TSDB, metrics storage, forecasting. |
tscm |
Technical Surveillance Countermeasures, bug detection. |
wasm |
WebAssembly compilation, WASI, browser interop. |
zzz |
Test sentinel module |