Finch/boot
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz a5f417100d boot: errors as values (-> T!, error(), try, or, fallible builtins and main)
A function that can fail returns { ok, value, message }. return error(...) makes
the failure; try passes it on after running the defers; 'or <value>' and
'or { ... err ... }' handle it. int(text), float(text), read_file, write_file
and delete_file report failure to an enclosing or/try instead of stopping the
program. fn main() -> ! prints the error and exits with 1.

boot.sh: 15 passed, 0 failed, 7 skipped.
2026-10-25 19:13:46 +01:00
..
ast.fch boot: errors as values (-> T!, error(), try, or, fallible builtins and main) 2026-10-25 19:13:46 +01:00
gen.fch boot: errors as values (-> T!, error(), try, or, fallible builtins and main) 2026-10-25 19:13:46 +01:00
lexer.fch boot: errors as values (-> T!, error(), try, or, fallible builtins and main) 2026-10-25 19:13:46 +01:00
main.fch OpenGL and Vulkan examples; ptr(int)/int(ptr); trailing commas in calls; drop .fn hint 2026-10-08 19:37:34 +02:00
parser.fch boot: errors as values (-> T!, error(), try, or, fallible builtins and main) 2026-10-25 19:13:46 +01:00