Curated examples for the Sounio programming language — an L0 systems + scientific programming language for epistemic computing.
# Install
git clone https://github.com/Sounio-lang/sounio.git
export SOUC=./sounio/artifacts/omega/souc-bin/souc-linux-x86_64-jit
export SOUNIO_STDLIB_PATH=./sounio/stdlib
# Run any example
$SOUC run examples/hello.sio| File | Description |
|---|---|
hello.sio |
Hello world |
fibonacci.sio |
Iterative Fibonacci |
newton_root.sio |
Newton-Raphson root finding with fn refs |
bubble_sort.sio |
Bubble sort with struct wrapper pattern |
hex_encode.sio |
Byte-to-hex encoding |
csv_stats.sio |
CSV column statistics (mean, variance) |
higher_order.sio |
map, fold, any, all with function references |
monte_carlo_pi.sio |
Monte Carlo pi estimation |
uncertainty.sio |
GUM uncertainty propagation |
effect_demo.sio |
Effect system demonstration |
See docs/LLM_PROGRAMMING_GUIDE.md for the full syntax reference.
See Sounio main repository for license details.