Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-08-01 | Mark RecursiveRecordMerge as unreachable | FintanH | 1 | -0/+1 | |
2019-08-01 | Add the typechecking of RecursiveRecordMerge. | FintanH | 3 | -8/+129 | |
This introduces an external function for HashMaps to perform an outer join so that you can do a unionWith but with more power by having a new tagert type. Using outer_join and recursively looking through records of records we have an implementation for combining records. | |||||
2019-07-31 | Add unreachable call for RightBasedRecordMerge case | FintanH | 1 | -0/+1 | |
2019-07-31 | Reuse the merge_maps function to implement the right-biased union | FintanH | 2 | -7/+7 | |
2019-07-31 | Add case for RightBasedRecordMerge in the typechecking phase. | Fintan Halpenny | 2 | -5/+48 | |
The implementation checks the types and kinds of the LHS and RHS. In the happy path it unions the HashMap prefering keys on the RHS over the LHS, and the result is the type of the resulting HashMap. The error cases are: - If the kinds of the records differ it results in a RecordMismatch error. - If either the LHS or RHS are not records it results in a MustCombineRecord error. | |||||
2019-05-12 | Finish implementing binary encoding | Nadrieril | 1 | -6/+8 | |
2019-05-12 | clippy | Nadrieril | 6 | -126/+118 | |
2019-05-12 | Split-off printer and binary encoding tests from parser tests | Nadrieril | 1 | -37/+59 | |
2019-05-12 | Include success or failure prefix in test filtering | Nadrieril | 3 | -14/+8 | |
2019-05-12 | Implement binary encoding | Nadrieril | 7 | -32/+355 | |
Closes #39 | |||||
2019-05-10 | Write a custom map type that allows duplicates | Nadrieril | 1 | -29/+38 | |
2019-05-09 | Merge Type and Typed | Nadrieril | 3 | -105/+55 | |
2019-05-09 | Fix missing methods for tests | Nadrieril | 1 | -0/+8 | |
2019-05-09 | Make visibilities more consistent | Nadrieril | 10 | -125/+106 | |
2019-05-09 | Rewrite Deserialize trait around new Value and Type | Nadrieril | 7 | -88/+73 | |
2019-05-09 | Rewrite the StaticType trait and everything around it | Nadrieril | 8 | -241/+191 | |
2019-05-09 | Tweak Typed | Nadrieril | 1 | -15/+16 | |
2019-05-09 | Reduce the distance between Type and Typed | Nadrieril | 3 | -157/+108 | |
2019-05-09 | Remove TypeIntermediate in favor of special-purpose functions | Nadrieril | 1 | -214/+183 | |
2019-05-09 | Small utility SubExpr::from_builtin | Nadrieril | 1 | -9/+3 | |
2019-05-09 | ExprF need not be generic in Label | Nadrieril | 4 | -15/+9 | |
2019-05-09 | Make shift fallible and improve shift ergonomics | Nadrieril | 8 | -129/+169 | |
2019-05-09 | Detect duplicate record fields in typecheck | Nadrieril | 5 | -77/+79 | |
2019-05-09 | Generate normalization tests automatically | Nadrieril | 3 | -368/+5 | |
2019-05-09 | Correctly shift free variables in normalization | Nadrieril | 2 | -11/+11 | |
2019-05-09 | Update dhall-lang submodule | Nadrieril | 2 | -15/+37 | |
2019-05-08 | Typecheck record projection | Nadrieril | 2 | -7/+32 | |
2019-05-08 | Typecheck merge | Nadrieril | 3 | -12/+97 | |
2019-05-08 | Move binop normalization into a separate function | Nadrieril | 1 | -165/+153 | |
2019-05-08 | Implement normalization for record merging operators | Nadrieril | 3 | -21/+120 | |
2019-05-08 | Rename the record combining operators internally | Nadrieril | 1 | -3/+3 | |
2019-05-08 | Implement normalization of missing builtins | Nadrieril | 2 | -23/+75 | |
2019-05-08 | Fix Context shifting | Nadrieril | 1 | -15/+24 | |
2019-05-08 | shift on lookup instead of on insert | Nadrieril | 2 | -27/+71 | |
2019-05-07 | Replace hashmap-based context with a vec-based one | Nadrieril | 1 | -14/+37 | |
2019-05-07 | Don't discard normalization work done by typechecking | Nadrieril | 3 | -83/+147 | |
2019-05-07 | Slight improvement to typecheck ergonomics | Nadrieril | 1 | -59/+28 | |
2019-05-07 | Unify typecheck and normalization contexts | Nadrieril | 5 | -76/+115 | |
2019-05-07 | Promote shift and subst_shift to traits | Nadrieril | 7 | -115/+161 | |
2019-05-07 | Move AlphaVar and AlphaLabel into a new module | Nadrieril | 6 | -106/+112 | |
2019-05-07 | Small mistake | Nadrieril | 2 | -2/+4 | |
2019-05-07 | Document Value and Thunk | Nadrieril | 2 | -8/+21 | |
2019-05-07 | Clean up some of the SubExpr type-changing methods | Nadrieril | 3 | -6/+6 | |
2019-05-07 | Unify Type, TypeInternal and Typed | Nadrieril | 3 | -117/+43 | |
2019-05-07 | Fix derive | Nadrieril | 1 | -0/+2 | |
2019-05-06 | Move main datatypes into their own modules | Nadrieril | 10 | -1199/+1217 | |
2019-05-06 | Move api-related modules into an api module | Nadrieril | 7 | -38/+41 | |
2019-05-06 | Consolidate errors in the error module | Nadrieril | 42 | -188/+196 | |
2019-05-06 | Reorganize dhall into a phase structure | Nadrieril | 15 | -477/+499 | |
2019-05-06 | Merge TypedInternal and Typed | Nadrieril | 4 | -75/+34 | |