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

Implement compilation logic for local imports #2106

Open
tstirrat15 opened this issue Oct 29, 2024 · 0 comments
Open

Implement compilation logic for local imports #2106

tstirrat15 opened this issue Oct 29, 2024 · 0 comments

Comments

@tstirrat15
Copy link
Contributor

We have AST nodes for the import feature, but the compiler doesn't yet do anything with them.

My current understanding of this is that this will involve:

  • Creating a list of requested definitions from the import statement
  • Reading and compiling the referenced schema and selecting those definitions
  • Doing this recursively

Ideally we only want to bring in the requested definitions, and then definitions that those definitions reference. That may be non-trivial.

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

No branches or pull requests

1 participant