English · Ελληνικά — ξεκινήστε εδώ
Scientific computing with explicit uncertainty, units and effects — powered by a self-hosted compiler.
Sounio is an epistemic systems language created by Demetrios Chiuratto Agourakis. Its scientific abstractions and compiler are developed together: measurements carry uncertainty, quantities carry dimensions, and computations declare effects. Explore the language, the compiler and a scientific library spanning eight research domains below.
Explore the science · Language reference · Explore the compiler · Start here
A measurement has a value and an uncertainty. A quantity has a dimension. A computation has effects. Sounio makes these distinctions part of the program so that scientific assumptions can be inspected alongside the calculation.
Explore the scientific examples, the standard library and the science hub. Each application should be assessed against executable evidence for the current source revision.
Sounio's standard library connects scientific domains with the language's uncertainty, units and effect systems. Explore the implementations and examples directly:
| Domain | What you can explore | Start here |
|---|---|---|
| Ontology & biomedical terminology | Typed terminology, queries, reasoning, closure, EL+ and temporal models; SNOMED, GO, HPO and LOINC adapters. | Library · Query example |
| PBPK & pharmacology | Physiological models with 14/28 compartments, adaptive ODE simulation, tissue partitioning, drug interactions, fitting and uncertainty-aware workflows. | Library · Simulation |
| Particle physics | Lorentz, spinor and gauge foundations; parameters, propagators, vertices, amplitudes, decay and cross-section tools. | Library · Uncertainty example |
| Quantum computing | Linear qubit interfaces, statevector/VQE, Born-shot uncertainty, QASM tape and CHSH experiments, with C++23 crosschecks. | Library · H₂ VQE · Device runner |
| Chemistry & hydrogen | Kinetics, thermochemistry, equilibrium, combustion, surfaces and catalysis, including independent-oracle sources. | Library · Hydrogen uncertainty |
| Scientific numerics & learning | Linear algebra, ODEs, statistics, automatic differentiation, optimization, Bayesian methods and tensor/neural components. | Linear algebra · ODEs · Autodiff · Tensors |
| Biomedical data & imaging | Genomics, neuroimaging, PET receptor kinetics and terminology-linked research examples. | Genomics · fMRI · PET examples |
| Algebra & operator exploration | Hypercomplex structures, EISA and scoped GPU/operator work through Pireus. | Algebra · EISA · Pireus |
This map describes implemented source areas. Execution evidence belongs to the named example, compiler and target; the library is a research platform with coverage that varies by route. See tests, current CI and each domain's documentation for reproducible evidence.
The compiler lives in this repository alongside the language. Follow the implementation from parsing and checking through intermediate representations, lowering and emission. Backend support is described by route and by tests of the current implementation.
| Explore | Source |
|---|---|
| Compiler implementation | self-hosted/compiler |
| Scientific library | stdlib |
| Examples and experiments | examples |
| Regression evidence | tests |
| Architecture | Compiler documentation |
| Language specification | Language reference and grammar |
self-hosted/andbootstrap/: compiler and bootstrap paths.stdlib/,tests/,examples/anddemos/: libraries, regression evidence, examples and guided demonstrations.docs/andartifacts/research/: technical documentation and research assets.website/andsite-next/: separate website implementations;ecosystem/contains distributable templates.
The default bin/souc route selects Madaros; its committed prebuilt compiler is Linux x86-64. Apple Silicon also has a separate current-source native ARM64 build and real Metal execution route integrated in #2978; see the macOS ARM64 guide for its setup and limits. A clean checkout still needs the documented native artifact before the launcher can use that route. Inspect the selected artifact before running examples.
git clone https://github.com/Sounio-lang/sounio.git
cd sounio
export SOUNIO_STDLIB_PATH="$PWD/stdlib"
./bin/souc --version
./bin/souc info
./bin/souc check examples/hello.sioFor setup and route details, read INSTALL.md, Madaros status and the launcher. Historical setup notes can describe different artifacts; the selected compiler, host and source revision determine the route.
Source, distributed binaries, individual test lanes and remote CI are separate evidence. When reporting a result, identify the source revision, selected compiler and test route.
| Capability | Current evidence |
|---|---|
| Native Apple execution | Native ARM64 build and real Metal execution integrated in #2978; see the macOS ARM64 guide. Linux parity and self-hosting remain separate claims. |
| Scientific values through calls | Direct and stored returned Knowledge values preserve variance in the tested paths integrated by #2878. |
| Derived-unit numerical representation | Scientific parameter representation repairs integrated by #2878. |
| Quantum circuits and experiments | Born-law, QASM tape and CHSH routes integrated by #2880, with classical execution evidence. |
| Borrow and unit binding reconciliation | #2882 is a validated draft candidate, awaiting integration. |
GPU/Pireus execution has evidence on scoped Spark routes. The generic GPU CLI path and each other backend require their own status; support is recorded per engine, target and source revision.
This status snapshot was reconciled against main 571848a5 on 11 October 2026. The later Apple Silicon integration is recorded in #2978; follow the linked changes and current CI for subsequent integration.
The scientific programme connects uncertainty, order and non-associative structure with executable models. Explore the founder’s intent, the language tour, research notes and the octonion associator example. Formal proof, numerical verification and empirical validation remain distinct forms of evidence.
Start with a reproducible issue, a focused example or a documented compiler limit. See CONTRIBUTING.md for contribution guidance.
Created by Demetrios Chiuratto Agourakis. See the project credits for attribution and AI disclosure. For research citation, see CITATION.cff. Licensed under Apache-2.0.