Skip to content

About

Curated examples for the Sounio programming language

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Sounio Examples

Curated examples for the Sounio programming language — an L0 systems + scientific programming language for epistemic computing.

Quick Start

# 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

Examples

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

Language Guide

See docs/LLM_PROGRAMMING_GUIDE.md for the full syntax reference.

License

See Sounio main repository for license details.

About

Curated examples for the Sounio programming language

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors