Skip to content

chore: drop codelib_gen — codegen lives in generation now - #41

Merged
Kinflou merged 1 commit into
masterfrom
chore/drop-codelib-gen
Aug 30, 2026
Merged

chore: drop codelib_gen — codegen lives in generation now#41
Kinflou merged 1 commit into
masterfrom
chore/drop-codelib-gen

Conversation

@Kinflou

@Kinflou Kinflou commented Aug 30, 2026

Copy link
Copy Markdown
Member

The rust generator was ported verbatim into ComlineProject/generation (comline-codelib-gen, de-rot G1a — generation#3, merged) and the CLI is the composition root. core is the compiler + IR; it no longer ships a generator.

  • Remove src/codelib_gen/ (mod.rs, rust.rs) and pub mod codelib_gen; from lib.rs.
  • Remove tests/codelib_gen/ (ported to generation) and its mod line.

cargo test: green (233 + suites, 0 failed).

Coordination

Pairs with a cli PR that repoints find_generator from comline_core::codelib_gen to comline_codelib_gen. cli currently builds against published comline-core 0.1.0 (which still has codelib_gen), so nothing breaks in the gap — the cli PR moves it onto a core git rev alongside the comline-codelib-gen git dep. Merge order between the two doesn't matter.

Design: design/generation.md → G1b.

The `rust` generator was ported verbatim into
`ComlineProject/generation` (`comline-codelib-gen`, de-rot G1a) and the
CLI is the composition root. `core` is the compiler + IR; it no longer
ships a generator.

- remove `src/codelib_gen/` (`mod.rs`, `rust.rs`) and `pub mod codelib_gen;`
- remove `tests/codelib_gen/` (ported to generation) and its `mod` line

`cargo test`: green.
@Kinflou
Kinflou merged commit b2739a4 into master Aug 30, 2026
6 checks passed
@Kinflou
Kinflou deleted the chore/drop-codelib-gen branch August 30, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant