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

Fix include #74

Merged
merged 4 commits into from
Aug 24, 2020
Merged

Fix include #74

merged 4 commits into from
Aug 24, 2020

Conversation

adam-mcdaniel
Copy link
Owner

@adam-mcdaniel adam-mcdaniel commented Aug 24, 2020

This PR moves the include directive logic into TIR. This fixes not being able to include structures from other files. This has various consequences; the largest changes occur in lib.rs and its parse function, which now returns a TIR program instead of an HIR program.

@adam-mcdaniel
Copy link
Owner Author

This PR is mostly done, but I really want to document and clean things up before it's merged.

@adam-mcdaniel adam-mcdaniel added almost fixed A working fix has been implemented and will be merged soon intermediate representation Related to one of Oak's intermediate represenations bug Something isn't working labels Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
almost fixed A working fix has been implemented and will be merged soon bug Something isn't working intermediate representation Related to one of Oak's intermediate represenations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant