-
Notifications
You must be signed in to change notification settings - Fork 177
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
feat(experimental): comptime
globals
#4918
Merged
Merged
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 275855b - Browse repository at this point
Copy the full SHA 275855bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8e399 - Browse repository at this point
Copy the full SHA fe8e399View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e119a - Browse repository at this point
Copy the full SHA e2e119aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d7a14 - Browse repository at this point
Copy the full SHA e3d7a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 899c72e - Browse repository at this point
Copy the full SHA 899c72eView commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c10d3b - Browse repository at this point
Copy the full SHA 0c10d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cdfa2c - Browse repository at this point
Copy the full SHA 7cdfa2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb98f14 - Browse repository at this point
Copy the full SHA fb98f14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b6b01 - Browse repository at this point
Copy the full SHA 71b6b01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73357da - Browse repository at this point
Copy the full SHA 73357daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2487e6a - Browse repository at this point
Copy the full SHA 2487e6aView commit details
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c774f0 - Browse repository at this point
Copy the full SHA 8c774f0View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d19e1f - Browse repository at this point
Copy the full SHA 3d19e1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d59e1f8 - Browse repository at this point
Copy the full SHA d59e1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc2bef - Browse repository at this point
Copy the full SHA cfc2befView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59861cf - Browse repository at this point
Copy the full SHA 59861cfView commit details -
feat(experimental): Implement comptime mut globals (#4926)
# Description ## Problem\* Resolves #4917 ## Summary\* Implements mutable comptime globals ## Additional Context Changes should be relatively straightforward - mostly parser changes to add parsing `mut` to globals, resolution changes to track this and error if the global is not also comptime, etc. The one bug that was fixed is that globals were being re-evaluated in the interpreter each time which would reset their value whenever they were referenced. This has been fixed with a lookup check. ## Documentation\* Check one: - [ ] No documentation needed. - [ ] Documentation included in this PR. - [x] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dc90de9 - Browse repository at this point
Copy the full SHA dc90de9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.