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

  1. fx — parse / typecheck / borrows → fx check
  2. C / link — after emit → fx cc remaps via .fxmap
  3. Runtime — ASan / asserts / gdb (use #line + -g)

Always prefer layer 1 first.

Emit modes

fx emit-c main.fx -o out_c --debug-source
fx locate --c-file out_c/main.c --line 42

Related