-
Notifications
You must be signed in to change notification settings - Fork 38
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
UPW[WIP]: faster, lightweight, more flexible and concisely implemented pattern matching #83
Merged
Commits on May 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 56ce973 - Browse repository at this point
Copy the full SHA 56ce973View commit details
Commits on May 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 43834c0 - Browse repository at this point
Copy the full SHA 43834c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9bf45c - Browse repository at this point
Copy the full SHA d9bf45cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ae5a6 - Browse repository at this point
Copy the full SHA e9ae5a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75bb1a6 - Browse repository at this point
Copy the full SHA 75bb1a6View commit details
Commits on May 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fbaa6a9 - Browse repository at this point
Copy the full SHA fbaa6a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79812f - Browse repository at this point
Copy the full SHA a79812fView commit details -
consistent code gen api(the last 2 params are module and linenumberno…
…de) & Sugars module(Q, And, Or) & LambdaCases & pattern_compile->pattern_uncall & add pattern_unref
Configuration menu - View commit details
-
Copy full SHA for 2cc9ea5 - Browse repository at this point
Copy the full SHA 2cc9ea5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce21e24 - Browse repository at this point
Copy the full SHA ce21e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab30ad0 - Browse repository at this point
Copy the full SHA ab30ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a5e3fe - Browse repository at this point
Copy the full SHA 0a5e3feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1158d7a - Browse repository at this point
Copy the full SHA 1158d7aView commit details
Commits on May 4, 2020
-
* support 'MLStyle.Modules.*' * all tests passing - add '@testcase' macro and '@lift' marker in "runtests.jl". works perfectly for our cases. * restore MLStyle.Render but deprecate it * no need of 'MLStyle.Modules.AST.Compat' as now our pattern totally can somehow understand the scope info. * fix duplicate @Label issues in when patterns('@when' from 'MLStyle.StandardPatterns.WhenCases'): - add 'CFGItem' and 'CFGSpec' types to MLStyle.AbstractPattern. - use CFGJump(CFGJump(:x) = CFGItem(:symbolicgoto, :x)) and CFGLabel(works the same way as CFGJump) - 'MLStyle.AbstractPattern.init_cfg': every time, when using generator functions from MLStyle APIs, such as 'gen_match', 'gen_switch', you should invoke 'MLStyle.AbstractPattern.init_cfg' before splicing it into your code. * record matching: support 4 kinds of matching for records: 1. positional: S(a, b, c) 2. field punning: S(; a, b=b_, c=c_), 'a, b, c' are names, 'b_, c_' are patterns 3. wildcard constructor: S(_), if type of S matches. for compatibility, and consistency with active patterns 4. just type check(same as 3): S() * active pattern clarification: - S() : if '@Active S(x)' returns true, otherwise(fail) returns false - S(v) : if '@Active S(x)' returns Some(v), otherwise(fail) returns nothing - S(a, b): more than 2 arguments, '@Active S(x)' returns a tuple * fix some typos in documentations(cuture->cultural, etc)
Configuration menu - View commit details
-
Copy full SHA for 4cefcc8 - Browse repository at this point
Copy the full SHA 4cefcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 061b199 - Browse repository at this point
Copy the full SHA 061b199View commit details -
Configuration menu - View commit details
-
Copy full SHA for d28643f - Browse repository at this point
Copy the full SHA d28643fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5651ac - Browse repository at this point
Copy the full SHA a5651acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 808804b - Browse repository at this point
Copy the full SHA 808804bView commit details
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.