Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 6, 2026

Summary

  • Extract Compiler struct and core impl to compiler.rs
  • Extract CompileError and CompileResult to error.rs
  • Extract tests to compile_tests.rs
  • Reduce mod.rs to thin facade with re-exports

Why

The compile/mod.rs was 427 lines mixing core types, implementation, and tests. This decomposition follows the project's facade pattern where mod.rs contains only module declarations and re-exports.

@zharinov zharinov changed the title refactor: decompose compile module into smaller components refactor: decompose compile module Jan 6, 2026
@zharinov zharinov merged commit 2e42931 into master Jan 6, 2026
4 checks passed
@zharinov zharinov deleted the refactor/compile-module-decomposition branch January 6, 2026 15:20
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.

2 participants