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

Imports are now expressions #29

Merged
merged 3 commits into from
Jun 16, 2016
Merged

Imports are now expressions #29

merged 3 commits into from
Jun 16, 2016

Conversation

nikklassen
Copy link
Collaborator

No description provided.


ExpressionGraph g;
try {
g = parser.parseFile(importedFile);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the best place to put this, but I'm not really sure where it would make the most sense. The alternative that seems to make the most sense is during elaboration of the ImportVertex.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand this correctly, it would make sense to me to have the import resolved during elaboration. I can see it being beneficial to keeping our simple graph views, well, simple. You know more about the process and performance so it's your call.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there's no reason to parse a file if the import isn't used I'm going to move this in

@m-lyons
Copy link
Owner

m-lyons commented Jun 15, 2016

Fix it and 🚢!

@nikklassen nikklassen merged commit d273ea0 into develop Jun 16, 2016
@nikklassen nikklassen deleted the import branch June 16, 2016 13:04
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.

2 participants