发布

  • Fix Magma import/call extraction, resolve file-path imports in linker

    frostbyte_neo 发布于 2026-03-07 11:55:56 +00:00

    • Add field('path', ...) to Magma load_statement grammar rule so
      parse_generic_imports() finds the import path via field lookup
      instead of the broken text fallback (which only extracted 1 per file)
    • Fix passImports() to resolve file-path imports (e.g. "utils.mag",
      "lib/helpers.h") via fqn.ModuleQN() when raw path doesn't match
      any node QN — general fix benefiting any file-path-based import
    • Add TestMagmaImport_Regression and TestMagmaCall_Regression
    • Update language count 59 → 63 in README, docs/index.html, marketing
    下载附件