Strata 2.0
`@if`, `@loop`, `@match`, `@fn`, `@struct`, `@defer` — every keyword is a stratum in `.si` source. Add `@my_keyword` like writing a function.
The compiler core never switches on keyword names. Every operator and control-flow construct is a stratum defined in Silicon source.
@fn area s:Shape := {
&@match s,
$Circle r => r * r * 3,
$Rect w h => w * h
};
@export area;sgl run compiles, executes in wasmtime. sgl build --release produces a native binary via the QBE backend.
curl -fsSL https://raw.githubusercontent.com/NatesCode/silicon/main/scripts/install.sh | sh
sgl init hello
cd hello
sgl runContinue with the 15-minute tutorial →