-
Notifications
You must be signed in to change notification settings - Fork 4
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
Generalize matching #78
Open
lucaspena
wants to merge
33
commits into
master
Choose a base branch
from
generalize-matching
base: master
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.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
ce98bfa
matching: match over heap variable
lucaspena 449aa2a
matching: #matchStuck is own sort now, results in stuck configuration…
lucaspena 0425b75
matching: remove spurious side condition in matchAssocComm rule causi…
lucaspena 65a620b
kore-lang: getSpatialPatterns and getPredicatePatterns
lucaspena 3922c7a
matching: allow multiple heaps in terms
lucaspena b52dad9
matching with heap variable must be at end of pattern list
lucaspena 75911fb
match: rotate heap variable when not at end of pattern list
lucaspena 9f4b7bb
match: lhs can have multiple seps
lucaspena 32177c5
matching: match on multiple heaps on RHS
lucaspena 6557873
match-assoc-comm: H1 is a token
lucaspena 4d2c0a4
matching: remove extraneous side condition
lucaspena 2c3ab94
t/unit/match: fix test cases
lucaspena cf5ff71
match: terms can be and(.Patterns)
lucaspena 73153f1
match-debug
lucaspena 6c196f3
matching: match: Everything matches \top
lucaspena 2fb6c9f
matching: allow set variables
lucaspena 9dcda07
matching: begin matching over context patterns
lucaspena 4801d96
kore-lang: add Context sort
lucaspena 0efa47e
matching: hole not parameterized
lucaspena 20ad367
matching: #match: Fix missing side condition
lucaspena ef208fa
kore-lang: add syntax for mu
lucaspena 9e6d79c
matching: recurse over and/or/mu (incorrect for and/or)
lucaspena 119ad56
match-assoc-comm: mu test
lucaspena 7e3860b
matching: owise case instead of requiring spatial pattern for more ge…
lucaspena 582f306
match: recurse over exists
lucaspena 4a7605a
unit/match-assoc-comm: change test name
lucaspena d1b0359
unit/match-assoc-comm: add test 13
lucaspena bcf3e05
matching: fix preprocessing
lucaspena 5aa40f7
kore-lang: add syntax for nu
lucaspena 3795bd8
matching: both term and pattern are nu
lucaspena 618dedc
matching: #matchAssoc: Syntactically match on `\not`
lucaspena 9d1f267
matching: #matchAssoc: Patterns may use set variables too
lucaspena e2385f2
match: fix test cases
lucaspena 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 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 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.
What does this represent? I thought a context is a pattern with a 'hole', which is a variable. So, does
VariableName
design the variable which plays the role of hole in thePattern
?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.
Also, please explain the meaning of VariableName here.