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

Compiler scopes and intermediate object construction rework #132

Merged
merged 8 commits into from
Jan 18, 2024

Conversation

phorward
Copy link
Member

@phorward phorward commented Jan 3, 2024

This pull request is part of #128, and restructures the Compiler to modularization and separating the Scope maintenance to something extendable and more universal.

@phorward phorward self-assigned this Jan 3, 2024
This uses the same interface than before, but removes the unpacking overhead.
1. Move variables and tempos into ImlParseletModel.
2. Scratch Scope2 as next scoping implementation, already compiles.
3. Unsure if this is all right and good, but its better than before.
This is almost working and the conceptual way to go, after testing several other ways and stuff.

[skip ci]
Makes Tokay useable again! Nevertheless, this is only a crutch to restore the previous behavior. Further considerations are necessary to bring Compiler and Scope together optimally.
@phorward phorward added feature New feature or request refactor labels Jan 17, 2024
@phorward phorward marked this pull request as ready for review January 18, 2024 10:45
@phorward phorward merged commit 90c396c into tokay-lang:main Jan 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant