Finch/boot
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz f71ae8b1ef boot: cimport.fch, the C header importer written in Finch on libclang
Reads functions (with variadics and why one is unsupported), enum and #define
constants, extern variables and structs with their layout, the same as
src/cimport.cpp. It calls libclang through Finch's own C import, so compiling
it is what the bootstrap will have to do. Checked with the C++ compiler:
stdio.h gives 90 functions and 347 constants; EOF is -1, stdout is ptr[C.FILE].
2026-10-25 19:40:50 +01:00
..
ast.fch boot: cimport.fch, the C header importer written in Finch on libclang 2026-10-25 19:40:50 +01:00
cimport.fch boot: cimport.fch, the C header importer written in Finch on libclang 2026-10-25 19:40:50 +01:00
gen.fch boot: maps, for k, v in, for i, x in 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: maps, for k, v in, for i, x in 2026-10-25 19:13:46 +01:00