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

Remove LexicalEnvironment #901

Merged
merged 1 commit into from May 19, 2021
Merged

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented May 19, 2021

This was something I discovered while developing generators so I extracted this as a separate PR to reduce load there. Lexical environment is more like a concept and doesn't need "physical" representation. Removing extra layer makes code easier to follow and aligns with the spec calls (directly to records), now can write code based on spec without separate env._record as env is now the the actual record.

@lahma lahma force-pushed the remove-lexical-environment branch from 2a518ec to 85855bc Compare May 19, 2021 18:23
@lahma lahma marked this pull request as ready for review May 19, 2021 18:30
@lahma lahma requested a review from sebastienros May 19, 2021 18:30
@lahma lahma merged commit 978d319 into sebastienros:main May 19, 2021
@lahma lahma deleted the remove-lexical-environment branch May 19, 2021 20:07
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.

None yet

2 participants