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

Fix variable scoping #48

Closed
lmorg opened this issue Apr 26, 2018 · 2 comments
Closed

Fix variable scoping #48

lmorg opened this issue Apr 26, 2018 · 2 comments

Comments

@lmorg
Copy link
Owner

lmorg commented Apr 26, 2018

The old code is still there and is salvagable. So hopefully it shouldn't be a massive task

@lmorg
Copy link
Owner Author

lmorg commented May 2, 2018

Ended up rewriting the whole lot but also included code for branching functions so code can run in a containerised config space. The point being you can pull the vars and config from one function but then create new local vars and alter the config without affecting the original function (aside from creating / modifying globals and modifying variables already defined).

I still need to re-write the garbage collector for variables.

@lmorg
Copy link
Owner Author

lmorg commented May 2, 2018

Garbage collector written, tested and working in branch: variable_scoping_rewrite

Will get merged into master later this week.

@lmorg lmorg closed this as completed May 2, 2018
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

No branches or pull requests

1 participant