docs / tracking
fx · 0.9.0
Dual-emit tracking
fx promises readable C and a way to map failures back to .fx sources.
Package markdown:
docs/TRACKING.md.
Composition method → Composition.
Three error layers
- fx — parse / typecheck / borrows →
fx check - C / link — after emit →
fx ccremaps via.fxmap - Runtime — ASan / asserts / gdb (use
#line+-g)
Always prefer layer 1 first.
Emit modes
- Annotate (default) —
/* fx: … */comments - Debug source —
--debug-source→.fxmap+#line - Minimal —
--minimal(smallest C)
fx emit-c main.fx -o out_c --debug-source
fx locate --c-file out_c/main.c --line 42
Related
- CLI —
emit-c,cc,locate,mcp - Composition — how to build under regions