Code as geometry. Two truths, one exact machine.
Yare is a small, total, lens-typed language built for the Vortex VM. Every function declares its cost upfront, holds two valid readings of a state without overwriting either, and compiles bit-identically across VM bytecode, TypeScript, and WebAssembly right inside this page.
How Yare works
TypeScript stays the host for UI, IPC, and I/O. Yare is the geometric spine for math and decisions — designed so models can propose code safely and every backend agrees to the bit.
Two lenses, one algebra
Thought, Emotion, Reason, Action (wisdom) and Thought, Energy, Resonance, Action (technical) share one geometric register math, yet remain distinct static types.
Cost declared upfront
Every function states its weight under a frequency cap. No recursion, no unbounded loops — admission verifies termination and weight / frequency ≤ 1 before execution.
Three coordinates per fn
Identity (384-bit bytecode hash), Lattice (Morton integer address), and Manifold (T.E.R.A. meaning). Meaning shapes values and admission — never memory addresses.
Proved against one Machine
Yare compiles to Vortex VM bytecode, TypeScript, WebAssembly, WGSL, and Apple Neural Engine MIL. Lowerings are held bit-identical to the reference Machine.
The six words are the grammar
These are not metaphor or decoration. Each keyword maps to a concrete invariant in the Vortex VM and the AAMT mathematical corpus. Select any word to inspect its role.
Four guarantees you can test live in this tab
Every rule Yare enforces exists to prevent a specific failure mode. Try violating each one below and watch the compiler and runtime respond.
Two Lenses & The Duplex Register
fn settle(a: tera<technical>)Both wisdom and technical run on the same 4-axis math, yet their lenses are part of the static type so neither silently overwrites the other.
duplex strands apartDivergence inside θ − δ. Eligible for promotion under explicit policy.
The Ma'at Yoke Scale (weight N under cap)
Yare programs are total: no recursion, no unbounded loops, and every function declares its cost upfront. When an LLM or user submits a module whose declared weight exceeds capacity × 64, the VM blocks admission before a single instruction runs.
Semantic math shapes values and admission — never memory addresses
full luminosity
Notice how scrambling T.E.R.A. shifts the archetype from Apex to Hollow to Forge — while the Morton page index on the right stays byte-identical.
Three execution backends, one IEEE-754 bit pattern
Pressing run compiles a real \0asm WebAssembly binary (— bytes) right in this browser tab and executes fr_theta + coherence_v alongside the Vortex VM interpreter and lowered TypeScript on your current sliders.
Weslyn — One Kernel, Eight Targets
Compiles a single sovereign file simultaneously to TypeScript, WASM SIMD, Rust, C++23, WGSL, Apple Neural Engine MIL, Yare/YARB, and lock-free Chromium IPC.
Yare Wata — Unified Visual Graph
MaiiaM OS's node-based Unified Visual Graph surface: wire AgentStudio flows, TeraWorld behavior trees, and WayMaker procedural DAGs over one typed spine.
Build with the Yare Vortex Engine
Zero-dependency deterministic VM, Q16.16 Ether typed-action scoring for multi-agent worlds, bounded cost-admission sandboxing for LLM-generated code, and replayable Ed25519 receipts.