ilusm.dev

Language demos

Every .ilu under release/examples/ is a small official demo of the language. Paths below are relative to that folder in your install or tarball. Open Show source under any .ilu to load its full program text here. Run locally with ./ilusm from a checkout-see the embedded README below for conventions.

How to run

export ILUSM_HOME=$(pwd)
./ilusm release/examples/hello.ilu
./ilusm release/examples/domains/trl.ilu

Batch runner (in the repo): sh scripts/run_examples.sh. Recorded transcripts for domain snippets: Domain snippets page.

Examples folder guide

Purpose, conventions, and the full program list for release/examples/ are included below-loaded from the same guide text shipped with the language. Browse filenames in the tables on this page or open release/examples/ on disk after install.

Show full guide text

          

Mini-games

guess_game.ilu
High/low number guessing loop
nim_transcript.ilu
Nim-style play-through

Capability showcases

showcase_telemetry.ilu
Read telemetry, trl + mth
showcase_stack.ilu
txt, trl, jsn, enc
showcase_checked_pipeline.ilu
Self-checking pipeline with test

SVG generators

svg_showcase_particles.ilu
Particle field (det, colr, trl, mth)
svg_showcase_mandelbrot.ilu
Mandelbrot grid
svg_showcase_flow.ilu
Graph layout
svg_showcase_poster.ilu
Poster / gradients
svg_showcase_obs.ilu
obs + jsn metrics bars

Domain snippets

domains/trl.ilu
trl - list transforms
domains/txt.ilu
txt - text utilities
domains/jsn.ilu
jsn - JSON streaming
domains/json.ilu
json - JSON encode/decode
domains/enc.ilu
enc - encoding
domains/mth.ilu
mth - math functions
domains/sort.ilu
sort - sorting
domains/bit.ilu
bit - bitwise operations

Category composites

category_testing.ilu
Testing helpers
category_txt_trl.ilu
Text + lists
category_json_encode.ilu
JSON + encoding
category_data_wire.ilu
Wire / data shapes
category_mth_sort.ilu
Math + sort
category_results.ilu
Result-style patterns

More context: Category composites on this page, Domain snippets, and under release/examples/ the folders categories/ and domains/.