Skip to content

[WIP] Switch to symbol tables #424

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

Closed
wants to merge 2 commits into from
Closed

[WIP] Switch to symbol tables #424

wants to merge 2 commits into from

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 16, 2019

This PR investigates what's necessary to make the switch from plain strings to proper symbols, starting at parser level. Currently, this'll slow down compilation quite a bit because every access to .text on AST nodes obtains the respective region within the underlying source as a starting point, in turn leading to a sitation where both can coexist for a while in order to get it done.

@dcodeIO
Copy link
Member Author

dcodeIO commented Jan 26, 2019

Figured that this might be easier to implement incrementally by first getting rid of the problematic data structures like Program#elementsLookup, and switch to symbols once everything's prepared.

@dcodeIO
Copy link
Member Author

dcodeIO commented Feb 27, 2019

Closing as this one has diverged from the preparations for symbol tables within master.

@dcodeIO dcodeIO closed this Feb 27, 2019
@dcodeIO dcodeIO deleted the symbolize branch March 7, 2019 23:50
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