Skip to content

Feat: Implement Environment struct with variable management and integrate into Runtime#12

Merged
shubhiscoding merged 2 commits into
mainfrom
feat/closures
May 20, 2026
Merged

Feat: Implement Environment struct with variable management and integrate into Runtime#12
shubhiscoding merged 2 commits into
mainfrom
feat/closures

Conversation

@shubhiscoding
Copy link
Copy Markdown
Owner

@shubhiscoding shubhiscoding commented May 20, 2026

let x = 10;

function f() {
    x = 20;
}

f();

print x;

works now

@shubhiscoding shubhiscoding merged commit fb577c2 into main May 20, 2026
1 check passed
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