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

Re-org the program representation layer of the compiler #765

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

dfellis
Copy link
Member

@dfellis dfellis commented Jun 11, 2024

That one program.rs file was fine at first when the structure was still a bit shaky, but it was definitely getting long-in-the-tooth with several thousand lines in a single file, so this split up should help keep things nice.

Re-exporting the main structs from the mod.rs so imports from outside of the program directory still work, and most of the time it's a code smell in Rust to import anything else (AKA things to clean up)

@dfellis dfellis self-assigned this Jun 11, 2024
@dfellis dfellis merged commit d1ec5e6 into main Jun 11, 2024
3 checks passed
@dfellis dfellis deleted the re-org-program-layer branch June 11, 2024 22:23
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.

1 participant