-
Notifications
You must be signed in to change notification settings - Fork 395
[ refactor ] ScopedSnocList: Swap Scope on SnocList (Phase 2)
#3513
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
base: main
Are you sure you want to change the base?
Conversation
2a9fa0b to
b68532b
Compare
bed6788 to
ff61ad5
Compare
ff61ad5 to
9367788
Compare
9367788 to
5278b55
Compare
33f2799 to
749fa54
Compare
|
Be aware that it may take a while! Next week is the TYPES conference We may be able to meet after that but then annual leave may kick in (I'll be away late June to early July). |
749fa54 to
c128cdf
Compare
c128cdf to
cf57ff6
Compare
|
@gallais a reminder at the middle/end of July probably after annual leave |
|
We're meeting tomorrow for a first go at this PR. |
|
I think solving merge conflicts later is the better approach. We tend to do some refactoring during review (e.g. PR #3593) when we spot opportunities that are too tempting to ignore but those shouldn't be too difficult to merge. I am sure Guillaume and I can help resolving conflicts once we are done reviewing. EDIT: wrong PR number. |
|
hm, I've tried to track the changes but this commit is unclear for me. Could you put more info there? |
|
That last one is ongoing changes that are not thematically linked beyond being part of the review as a whole. |
I can help with that |
|
The new academic year is about to start so unfortunately I don't think I'll be able to come back to this for a while. |
I mean I could take the branch, make a rebase, and finally propose all these changes to merge at this pr. What do you think? |
|
I've collected commits from mjustus@3578f70, then added holes to make it compilable as is to see the needed surface to fix. Applied trivial fixes. Working on filling holes. |
e01b32a to
dde0bf4
Compare
f7ed03c to
0c882af
Compare
Co-authored-by: Justus Matthiesen <[email protected]>
+ Cherry-picked refactor from #16 Co-authored-by: Viktor Yudov <[email protected]>
…sing cases to substName
… List Name This refactor changes the representation of constructor arguments throughout the compiler from `Scope` to `List Name`. This simplifies the API and reduces complexity in handling variable indices. Key changes: - Updated `MkConAlt` and related types to use `List Name` instead of `Scope` for constructor arguments - Modified variable binding and weakening operations to work with list-based arguments - Adjusted pattern matching and case analysis code throughout the compiler - Added new helper functions for list-based variable operations The change affects multiple compiler modules including ANF, LambdaLift, CaseOpts, and optimization passes, ensuring consistent handling of constructor arguments across the compilation pipeline.
f77ebd4 to
5b57541
Compare
|
Short list of all test errors ATM: Unfortunately, I am unable to reproduce them locally. But locally my list of bad tests are: Continue digging. |
79d2809 to
4bdbf2f
Compare
|
Same report as here. AMD64 (Dockerfile) LSP issue is known. Everything else is OK for AMD64. Aarch64 has issue with
I've updated LSP. Report is fine now. Actual TOML (with pointing to PR-version Idris2 compiler and PR-version LSP). |
|
We are pleased to announce that this commit is once again prepared for merging. The previous iteration was halted due to several critical issues that required attention. Since then, the main branch has advanced significantly. The current state of the code not only passes all relevant tests but also successfully builds the entire pack collection. Our assessment is that the present state of this Pull Request is now suitable for integration into the main branch. We kindly request that participants in the discussion review the changes to identify any remaining critical issues that would block a merge. We suggest distinguishing these from potential improvements that could be addressed in follow-up work. Should no blocking issues be identified, we recommend proceeding with the merge. This consideration is particularly pertinent given the rapid pace of compiler development; rebasing and incorporating the necessary refinements since the last review cycle alone required over a month of effort. |
Introduces the actual swap of
ListonSnocListforScope.Should this change go in the CHANGELOG?
implementation, I have updated
CHANGELOG_NEXT.md(and potentially alsoCONTRIBUTORS.md).