gen-gomod 0.1.20

gen — gomod adapter. Parses go.mod + lockfile into a typed gen_types::Spec emission. One of N adapters that share the typed core via Spec/QuirkRegistry/Invariants traits.
Documentation

gen-gomod — gomod adapter for the gen ecosystem.

Parses go.mod + a vendored tree (via go list -deps -json) into a typed per-package [build_spec::BuildSpec] (v2 incremental) and emits it as Go.build-spec.json. See theory/ECOSYSTEM-INTAKE.md for the seven-artifact contract and the M1 build doc for the per-package (rustc-per-crate-in-Go) delta.

The TYPED-SPEC + INTERPRETER TRIPLET:

  • Rust border — [build_spec] (the v2 shape + the v1 coarse submod).
  • Lisp specspecs/go-package-build.lisp + specs/adapter.lisp.
  • Interpreter — [interp] (apply(env, ctx) -> BuildSpec), with every side effect behind the [interp::GoBuildEnv] trait.