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

support function call #37

Merged
merged 4 commits into from
Dec 21, 2023
Merged

support function call #37

merged 4 commits into from
Dec 21, 2023

Conversation

wcho21
Copy link
Owner

@wcho21 wcho21 commented Dec 21, 2023

feat.

  • function call

internals

  • environments are chained now (like linked list)
    • now environments can point 'super' environment (or, informally, 'surrounding' scope)
    • why changed?: function call should create a new ('sub') environment (that is, 'surrounded' scope) by registering function call arguments to the old environment

@wcho21 wcho21 self-assigned this Dec 21, 2023
@wcho21 wcho21 merged commit 8642df4 into dev Dec 21, 2023
1 check passed
@wcho21 wcho21 deleted the feat branch December 21, 2023 12:01
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