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

New AST structure #247

Merged
merged 7 commits into from
Jan 15, 2024
Merged

New AST structure #247

merged 7 commits into from
Jan 15, 2024

Conversation

giann
Copy link
Collaborator

@giann giann commented Jan 12, 2024

New AST structure using MultiArrayList.

Sadly did not yield any performance improvements but the code is cleaner.

giann added 2 commits January 12, 2024 13:09
- Tries to have smallest structs possible
- Move codegen and other methods outside of each node structs
- Keep flag list of tokens and nodes and use indexes to that list
@giann giann merged commit 894bdfa into main Jan 15, 2024
3 checks passed
@giann giann deleted the lsp branch January 15, 2024 21:41
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