mirror of
https://github.com/Nexoniarz/Finch.git
synced 2026-11-03 08:54:25 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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.
|
||
| .. | ||
| ast.fch | ||
| gen.fch | ||
| lexer.fch | ||
| main.fch | ||
| parser.fch | ||