Skip to content

feat (sema): add module import resolution - #15

Merged
ofabiodev merged 6 commits into
mainfrom
add-module-import-resolution
Jul 29, 2026
Merged

feat (sema): add module import resolution#15
ofabiodev merged 6 commits into
mainfrom
add-module-import-resolution

Conversation

@ofabiodev

Copy link
Copy Markdown
Member

Summary

Adds T10 module and local import resolution to the semantic analysis layer.

Changes

  • Resolve imports using path.puff and path/main.puff candidates
  • Support default prefixes, explicit aliases, and namespaced imported symbols
  • Add import diagnostics, path validation, and multi-file integration fixtures

Testing

make test
make build

cd src
go vet ./...
go test ./internal/sema -cover

@ofabiodev ofabiodev added kind/feature New behavior or capability. kind/test Tests, fixtures, golden files, or test infrastructure. area/parser Parser, grammar, syntax recovery, and parse errors. area/sema Types, scopes, validation, and semantic rules. puff/diagnostics Error messages, hints, notes, and source spans. labels Jul 29, 2026
@ofabiodev
ofabiodev merged commit cf05d6b into main Jul 29, 2026
2 checks passed
@ofabiodev
ofabiodev deleted the add-module-import-resolution branch July 29, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/parser Parser, grammar, syntax recovery, and parse errors. area/sema Types, scopes, validation, and semantic rules. kind/feature New behavior or capability. kind/test Tests, fixtures, golden files, or test infrastructure. puff/diagnostics Error messages, hints, notes, and source spans.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant