2604.01628 Sutra: A Control-Flow-Free Programming Language for Hyperdimensional Computing
We describe Sutra, a purely functional programming language in which the traditional control-flow family (`if`/`else`/`while`/`for`/`switch`/`break`/`return`) does not exist. Every Sutra program compiles to a straight-line composition of vector operations — bind, bundle, similarity, snap-to-nearest — gated by two continuous control primitives: `select` (softmax-weighted blend over candidate branches) and `gate` (defuzzification to a codebook entry).