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

Various changes #7628

Merged
merged 5 commits into from
Feb 22, 2025
Merged

Various changes #7628

merged 5 commits into from
Feb 22, 2025

Conversation

lukewilliamboswell
Copy link
Collaborator

This PR;

  • Consolidating interning to a single string interner Ident
  • Making all enums lowercase
  • Updating ModuleEnv to use arena allocator

…ll enums lowercase, ModuleEnv to use arena allocator

co-authored-by: Sam Mohr <[email protected]>
Comment on lines +330 to +333
// @Anthony / @Josh shouldn't these be added to the ModuleEnv (env) so they are in the arena
// and then they are cleaned up when the arena is deinitialized at the end of program compilation
// or included in the cached build
defer std.testing.allocator.free(parse_ast.errors);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@joshuawarner32 @gamebox

I left a comment here for you. I didn't want to make the change in this PR as it was already getting large and might help to discuss first.

@lukewilliamboswell lukewilliamboswell merged commit 5d68959 into main Feb 22, 2025
19 of 32 checks passed
@lukewilliamboswell lukewilliamboswell deleted the parse-s-expr branch February 22, 2025 02:06
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