cjc-module 0.1.0

Module system for multi-file CJC programs
Documentation

CJC Module System

Deterministic module resolution, dependency graph construction, and program merging for multi-file CJC programs.

Design principles:

  • All internal maps use BTreeMap for deterministic ordering
  • Symbol mangling: module_path::fn_name (e.g., math::linalg::solve)
  • Cycle detection via DFS with proper error reporting
  • Single merged MirProgram output for the executor