-
Notifications
You must be signed in to change notification settings - Fork 32
User guided specialisation stage #252
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
Draft
Oli-Ar
wants to merge
24
commits into
hkust-taco:hkmc2
Choose a base branch
from
Oli-Ar:hkmc2-specialisation-wip
base: hkmc2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
322b68b
Miscellaneous Fixes (#280)
CAG2Mark 740dacb
Ported specialisation keyword to HEAD
Oli-Ar 1796d7d
Added logic to pass specialisation flags through elaborator
Oli-Ar af9ac51
Brought back specialiser logic
Oli-Ar b91aa15
Pushed majority of logic for the simple sub algorithm
Oli-Ar 423fafe
Pulled class info out from SimpleType to new class
Oli-Ar 7189d2c
Fixed type inference for classes and some types of functions
Oli-Ar 3211cec
Fixed relationship
Oli-Ar 138ecca
Code cleanup and minor fixes
Oli-Ar 9fa8b52
Added type inference for statements
Oli-Ar 7ae6090
Delayed processing of TermDefs fixing some class of inference bugs
Oli-Ar 89ca14c
Specialisation inference
Oli-Ar f6bd7bb
Generating specialised functions
Oli-Ar 4aa2131
Arguments to specialised parameters are now extracted
Oli-Ar d0ae2e6
Cleaned out tests
Oli-Ar 73b350a
Specialiser type pattern matching added
Oli-Ar 7f4b2a5
Specialiser type pattern matching added
Oli-Ar 2b235bb
Renaming
Oli-Ar 952e08f
Handling specialisation inside specialised functions better
Oli-Ar e57dfcd
Improved specificity of specialiser
Oli-Ar ed681da
Added typeof function check support
Oli-Ar 0a795a7
Small features & Bug Fixes
Oli-Ar c08a954
Re-added removed test
Oli-Ar ae4dfb1
WIP: Changed specilisation to work on specialised parameter vectors
Oli-Ar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this as I had a test where I specialise a parameter which I pass a lambda to, so when I generate the pattern matching for the application I needed to be able to match the lambda, but I'd just like to check that this is okay to do since I'm not very familiar with the codegen side of mlscript.