Finch/boot
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 8c3b5b15b9 -g: debug info, in the compiler written in Finch
DWARF as LLVM metadata: a compile unit, a subprogram per function, a location on every call, a variable
for each local and parameter with types a debugger can open (structs with their fields, arrays and text
as ptr/len/cap, maps, enums with their variants, pointers, fixed arrays). Methods show self.

Use it with -O0, as the docs say: the optimizer inlines the program into main, which has no debug info.
boot.sh builds ten programs with -g -O0 and checks they still behave. 51 passed.
2026-10-25 21:08:13 +01:00
..
ast.fch export fn and finch build --shared, in the compiler written in Finch; FINCH_PATH, FINCH_RT, FINCH_CC 2026-10-25 21:03:05 +01:00
cimport.fch a standard library in Finch: path, time, proc, json 2026-10-25 20:58:26 +01:00
gen.fch -g: debug info, in the compiler written in Finch 2026-10-25 21:08:13 +01:00
lexer.fch export fn and finch build --shared, in the compiler written in Finch; FINCH_PATH, FINCH_RT, FINCH_CC 2026-10-25 21:03:05 +01:00
main.fch -g: debug info, in the compiler written in Finch 2026-10-25 21:08:13 +01:00
parser.fch export fn and finch build --shared, in the compiler written in Finch; FINCH_PATH, FINCH_RT, FINCH_CC 2026-10-25 21:03:05 +01:00