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

Basic Function frames #3

Merged
merged 5 commits into from
Feb 29, 2024
Merged

Basic Function frames #3

merged 5 commits into from
Feb 29, 2024

Conversation

Rexicon226
Copy link
Owner

Finally got past the mind-block of function frames. The solution I've come up with is OK-ish. It definitely has problems, such as not removing Objects from the scope once leaving the function, but it's a good start for sure.

@Rexicon226 Rexicon226 self-assigned this Feb 29, 2024
@Rexicon226
Copy link
Owner Author

LOAD_FAST is STUPID. AHHHHHHHHH. Fucking 5:30am and I finally figured out LOAD_FAST is basically just Zig Air arg(0). When you call a function, set the positional arguments to be in line with varnames[0..args.len]. Guido where docs?

@Rexicon226 Rexicon226 merged commit da03453 into master Feb 29, 2024
1 check passed
@Rexicon226 Rexicon226 deleted the function-frames branch February 29, 2024 13:31
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