Skip to content

refactor: consolidate compiler utilities and passes#200

Merged
zharinov merged 1 commit intomasterfrom
refactor/compiler-consolidation
Dec 31, 2025
Merged

refactor: consolidate compiler utilities and passes#200
zharinov merged 1 commit intomasterfrom
refactor/compiler-consolidation

Conversation

@zharinov
Copy link
Copy Markdown
Member

Summary

  • Extract to_pascal_case and to_snake_case to plotnik-core::utils (fixes behavioral bug where TypeScript emitter produced FOOBAR instead of FooBar for FOO_BAR input)
  • Add is_recursive() API to DependencyAnalysis, removing duplicate recursion detection from type_check
  • Combine NodeTypeCollector and FieldCollector into single SymbolResolver visitor (3→2 AST passes in link phase)
  • Create query/refs.rs with ref_nodes(), collect_ref_names(), contains_ref() utilities

Test plan

  • All 689 tests pass
  • Clippy clean

@zharinov zharinov enabled auto-merge (squash) December 31, 2025 16:15
@zharinov zharinov merged commit 81ce645 into master Dec 31, 2025
4 checks passed
@zharinov zharinov deleted the refactor/compiler-consolidation branch December 31, 2025 16:16
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