Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add use statements in Amy #92

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add use statements in Amy #92

wants to merge 5 commits into from

Conversation

hamzaremmal
Copy link
Owner

No description provided.

@hamzaremmal
Copy link
Owner Author

  • Change the implementation of Scope to be mutable (immutable Scopes are hard to manipulate)

First draft of the project will only allow use statements to be a top level definition before any declaration

  • Implement use statements as a top level definition in a Module
  • use statements should bring to Scope all the definitions it imports + local definitions
  • Change NameAnalyzer to use the use statements instead of resolving modules + def

@hamzaremmal hamzaremmal linked an issue Feb 8, 2023 that may be closed by this pull request
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.

Add use statements
1 participant