Skip to content

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 <sam@sammohr.dev>
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.

3 participants