cli: bootstrap verified std bytes and math with source imports

This commit is contained in:
dev committed 2026-10-06 14:51:10 +03:00
1 parent 268926ca0f
commit 10a370471b
52 files changed
+1000 -22

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
; expect: run
; result: 7
; phase: 0
; spec: docs/spec/07a-air-instructions.md; docs/spec/16-standard-library.md
module test.minimum
air 0
lang 0.1
features [effects]
fn @main() -> u64
effects []
entry:
%a = const.u64 7
%b = const.u64 11
%v = call @min(%a, %b)
ret %v
fn @min(%a: u64, %b: u64) -> u64
effects []
entry:
%less = lt.u64 %a, %b
cbr %less, @left(), @right()
left:
ret %a
right:
ret %b