A language to explore connections
Omni brings human-readable code, structured program representations and execution contracts into an experimental language. It is an engineering hobby, with native tooling and projects at different stages of maturity. A useful first step is to read one small program before exploring a kernel or a backend integration.
Omni Language and Omni SDK share the declared version 0.1.0.00, WIP / NOT_RELEASED. This article preserves an authentic historical hola.omni program identified by its source commit. The declared product identity does not relabel its provenance or claim a new execution.
A pure calculation and an I/O entry point
factorial accepts a u32 and returns a u32. The branch stops recursion when the argument reaches 1 or less. main prints a greeting and calls factorial(6). The complete program appears below, unchanged from the selected dossier.
module demo
func factorial(n u32) u32 !pure {
if n <= 1 {
return 1
} else {
return n * factorial(n - 1)
}
}
func main() u32 !io {
print("Hola, Omni")
print(factorial(6))
return 0
}Authentic Particle source. Plain monospaced text; no semantic highlighting or live execution is implied.
Historical source identified by its commit. The declared product version does not recertify this example.
View source in Omni Language ↗
Source identity
examples/hola.omnic1421ace112c084d57dc5aa03d53dec9ee65c2aa
Read effects as part of the contract
The function marked !pure performs the calculation; main uses !io for printing. An effect declaration describes the function’s effects. It does not by itself grant authority to perform arbitrary I/O. The supported runtime profile and its effective grants determine what can execute.
By inspection, the expected printed values are Hola, Omni and 720, with a return value of 0. These are expectations from the code, not captured stdout from this session. There is no Run button because this static page does not host an admitted Omni runtime.
How can I try it?
You need an authorized, compatible Omni SDK and its runtime. The historically certified native target for this source is Linux x86-64 GNU. The commands documented for this example, from the SDK/project root, are:
omni check examples/hola.omniomni run examples/hola.omniomni wave examples/hola.omniomni onme-stats examples/hola.omniConfirm the installed CLI’s help and version before running them, and adapt the path to the actual SDK example. Reproducible source-build and SDK instructions are maintained in the repository README and SDK quickstart. These links do not assert that a downloadable binary release exists. This website does not install a compiler or execute visitor-supplied source.
The first two commands check and run the program in the admitted profile. The others explore a representation and compact-projection statistics. This increment includes no generated Wave, ONME or OSNMF output. A later artifact view must preserve its exact input, tool version, commands and results.
What this example does not establish
- It is a small recursive example, not a benchmark or a complete arithmetic specification. It does not handle general overflow as an application concern.
- It does not demonstrate a browser or WebAssembly target. The website presents HTML; the documented Omni tooling is native.
- The kernel uses a separate freestanding profile. A hosted SDK does not reproduce the Synphoni build by substitution.
- Reading source does not recertify a release, current HEAD, native SDK, kernel or product.
Source and next steps
Source: examples/hola.omni, subject c1421ace112c084d57dc5aa03d53dec9ee65c2aa. The selected historical code remains reproduced on this page. The source link points to the consultation revision b64b6bc0ace94717b3dd30612e6c6b04ae6f8f01 in Omni Language; this does not assert byte equivalence or a new execution. Editorial review: 2026-10-21, sirfederick.
Continue with representations, the five OSNMF memory domains or execution authority. For a systems example, read Synphoni’s early-memory functions.