-
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
Implement default instances of typeclasses. #56
base: develop
Are you sure you want to change the base?
Implement default instances of typeclasses. #56
Commits on May 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 03a54fd - Browse repository at this point
Copy the full SHA 03a54fdView commit details -
parser, analyzer: get rid of expression lists.
Comma expressions shall be dead from this point onwards.
Configuration menu - View commit details
-
Copy full SHA for df51c7b - Browse repository at this point
Copy the full SHA df51c7bView commit details
Commits on Jun 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c0332ea - Browse repository at this point
Copy the full SHA c0332eaView commit details -
analyzer: reimplement the parse of default() as a postfix-expr.
This way the code in default_instance_expression can just become a function, and we have one AST node kind less to worry about.
Configuration menu - View commit details
-
Copy full SHA for 52f832f - Browse repository at this point
Copy the full SHA 52f832fView commit details
Commits on Jul 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5887658 - Browse repository at this point
Copy the full SHA 5887658View commit details
Commits on Jul 17, 2019
-
analyzer: make instances be keyed off types, not their expression rep…
…resentation. Start building the instance selector functions.
Configuration menu - View commit details
-
Copy full SHA for 06615e5 - Browse repository at this point
Copy the full SHA 06615e5View commit details
Commits on Jul 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4928373 - Browse repository at this point
Copy the full SHA 4928373View commit details
Commits on Aug 26, 2020
-
Rewrite name handling and finish default instances (at least for now).
There's a few minor refactors in this commit as well, like finally making builtin_types return things that don't need unwrapping with get, but the title line is the soul of the changes. Name handling is now done top-down, not bottom-up; every layer knows its _full_ name as soon as it is possible. This simplified scope handling, removed the need for scope generators, and enabled default instances. Generally a lot of things are now how they should've been from the start. Anyway, it's now possible to import a default instance. Nice. Only... a... year? in the works.
Configuration menu - View commit details
-
Copy full SHA for 149266e - Browse repository at this point
Copy the full SHA 149266eView commit details