First Program
Examples are being stabilized with the compiler migration. The first public program will be kept small enough to verify the parser, typechecker, entrypoint handling, and executable output.
Placeholder source
Section titled “Placeholder source”public procedure main(move ctx: Context) -> i32 { return 0}The Context parameter is the entry capability bundle for an executable.
Compile
Section titled “Compile”# Public alpha compile command placeholder../build/uv build examples/first.uv# Public alpha run command placeholder../build/firstStatus note
Section titled “Status note”The canonical first example will be updated when the public compiler and example tree are stabilized.