-
Notifications
You must be signed in to change notification settings - Fork 34
The Ultimate Pattern Syntax #316
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
Merged
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
5a5d806
wip new Pattern enum
Chronarak d5c78ca
wip pattern compiler
Chronarak 7dd1a61
Rename flat patterns
chengluyu a13f880
Reintroduce patterns
chengluyu 7ac28c7
Fix pattern examples
chengluyu abc5926
Support top-level pattern bindings
chengluyu c9711ff
Elaborate chain patterns
chengluyu d00e7c9
Renovate `Translator`
chengluyu 11a2195
Major update on translation and add many tests
chengluyu 6ca78ca
Implement pattern compilation
chengluyu b19fe31
Revise the wording
chengluyu e5c2438
Add a blank line at the end of the file
chengluyu 89269e3
Delete the comment that was accidentally committed
chengluyu b392c4a
Improve `pluralize`
chengluyu e3d0fdd
Remove a `:todo` flag
chengluyu bcac1bd
Add examples of DNF and CNF
chengluyu 575bdcf
Further improve `pluralize`
chengluyu 78ea61c
Delete a self-talking comment
chengluyu 1dfe444
Merge branch 'origin/hkmc2'
chengluyu 163f091
Remove useless classes from `Term.mls`
chengluyu 837994c
Rename `Translator` as `NaiveCompiler`
chengluyu d6137a6
Fix desugaring derp
LPTK b22f737
Merge branch 'hkmc2'
chengluyu e569640
Very minor cleanups
chengluyu e027628
Remove old naive pattern compilation completely
chengluyu f209f8f
Call `NaiveCompiler` from `Lowering`
chengluyu 16cce58
Move `NaiveCompiler` into the `ups` package
chengluyu e530991
Merge the immutability update on branch 'hkmc2'
chengluyu 22f70b9
Group tests about string patterns
chengluyu e1b66ae
Fix string patterns and add tests
chengluyu bdbad7c
Merge branch 'hkmc2' into ups
LPTK b873b2c
Clean up the pattern compiler
chengluyu 6cee1c3
Fix Unicode characters
chengluyu 850d874
Add spaces on both sides of the `::` operator
chengluyu e8c6c44
Correct the wording in an error message
chengluyu 406637b
Correct the grammar in a comment
chengluyu 4a7639c
Amend test changes
chengluyu 20467e5
Remove a use of default arguments
chengluyu 0196de5
Stop compiling pattern arguments in the `Desugarer`
chengluyu ab8596b
Do no generate objects for direct use of patterns
chengluyu 39d8046
Pattern definitions do not need parameter lists
chengluyu 41f42c1
Correct the use of top and bottom
chengluyu 513b1ea
Correct the grammar in a comment
chengluyu 6c61134
Add a space between two imported names
chengluyu 3346a6d
Correct the grammar in a comment
chengluyu 41ca4cd
Replace the Unicode escapes with actual characters
chengluyu 125b128
Encapsulate pretty printing of splits better
chengluyu 52775c5
Revert an outdated change
chengluyu 7ae33a7
Revert the error message for unrecognized patterns
chengluyu d708760
Remove an outdated test command
chengluyu 5d14750
Fix the separation of test blocks
chengluyu 7a52f7b
Do no use `showDbg` in error messages
chengluyu 6f6abda
Break the rendering output into multiple lines
chengluyu 9f4e6d9
Better document the function `tuple` in `Elaborator.pattern`
chengluyu dc2e9de
Amend test changes caused by previous changes
chengluyu 08036b9
Improve backlog tests
chengluyu 883f40b
Do not make terms with implicit args before resolution
chengluyu d7c9b89
Revert newlines
chengluyu bc0f600
Improve the check for `isMlsFun`
chengluyu df53e8e
Hide a long-winded test output
chengluyu 62ca882
Improve an error message
chengluyu 2b722c9
Document a test which should be reported
chengluyu 4143501
Remove an outdated comment
chengluyu cc7cb36
Add a test to show the difference of two rendering modes
chengluyu e0e6d1f
Rename the test folder rp to ups
chengluyu 7390402
Revert needless change
LPTK 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.