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

Support imports #28

Open
dyst5422 opened this issue Sep 27, 2022 · 1 comment
Open

Support imports #28

dyst5422 opened this issue Sep 27, 2022 · 1 comment

Comments

@dyst5422
Copy link
Collaborator

Supporting imports is likely to be a really tricky thing. We need to be able to resolve the imports PRIOR to type checking and retrieve them at that point for compilation (with a caller provided resolver/loader). This likely means pre-parsing the file into an AST to grab import statements and resolve them. I don't think there are any explicit security concerns here, but we should think about it.

@dyst5422
Copy link
Collaborator Author

dyst5422 commented Sep 26, 2023

Going to take a stab at this in the next week or so after a conversation with @JoelCourtney that more comprehensive support for full filesystem feature set is desired

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