Skip to content

Add cache to staged modules#426

Open
ChingLongTin wants to merge 500 commits intohkust-taco:hkmc2from
ChingLongTin:add-cache
Open

Add cache to staged modules#426
ChingLongTin wants to merge 500 commits intohkust-taco:hkmc2from
ChingLongTin:add-cache

Conversation

@ChingLongTin
Copy link
Copy Markdown
Contributor

Populates the function cache and generatorMap for each staged module

ChingLongTin and others added 30 commits December 24, 2025 16:00
this removes the check in L218 because evaluation of Scope is now deferred:wq
we check if a function is staged through defCtx, so we can substitute the symbol there
_instr function only returns the block IR, whereas _gen functions will include the shape propagation
@LPTK
Copy link
Copy Markdown
Contributor

LPTK commented Apr 10, 2026

Please resolve the conflicts.

@ChingLongTin
Copy link
Copy Markdown
Contributor Author

hmm, ClassInFun.mls fails from printing let y in a different order...

@LPTK
Copy link
Copy Markdown
Contributor

LPTK commented Apr 12, 2026

Unfortunately, I still don't know why the order of private fields does not seem stable :/

EDIT: It's being investigated and fixed at #459.

@LPTK LPTK force-pushed the hkmc2 branch 2 times, most recently from f5b9c17 to 323afbd Compare April 13, 2026 10:20
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.

4 participants