Skip to content

Add scope resolution, AST serialization, and test improvements#6

Merged
revarbat merged 8 commits intomainfrom
scoping
May 7, 2026
Merged

Add scope resolution, AST serialization, and test improvements#6
revarbat merged 8 commits intomainfrom
scoping

Conversation

@revarbat
Copy link
Copy Markdown
Contributor

@revarbat revarbat commented May 7, 2026

Summary

  • Adds lexical scope building with three separate namespaces (variables, functions, modules) via ast/scope.py
  • Adds JSON/YAML AST serialization/deserialization via ast/serialization.py
  • Adds parser_comments fixture to conftest and uses it in test_modules
  • Moves pytest-cov to dev dependencies (was incorrectly in main dependencies)
  • Updates PRD.md to reflect v2.2.0+ capabilities

Test plan

  • pytest tests/ passes (599 passed, 3 skipped)
  • pytest-cov available in dev installs but not as a runtime dependency

🤖 Generated with Claude Code

revarbat and others added 8 commits May 5, 2026 15:18
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@revarbat revarbat merged commit 9ca5a0a into main May 7, 2026
2 checks passed
@revarbat revarbat deleted the scoping branch May 7, 2026 02:10
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