Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tweak Ok/Err handling in typecheck | Nadrieril | 2019-08-20 | 1 | -157/+128 |
| | |||||
* | Merge TypedValue and Value | Nadrieril | 2019-08-19 | 1 | -96/+81 |
| | |||||
* | Reduce untyped construction of Values | Nadrieril | 2019-08-19 | 1 | -17/+16 |
| | |||||
* | Use TypedValue instead of Typed in normalize and typecheck | Nadrieril | 2019-08-19 | 1 | -218/+174 |
| | | | | | Now Typed is only used in dhall::phase, similarly to Parsed/Resolved/Normalized | ||||
* | s/to_valuef/to_whnf/ and avoid cloning ValueFs when possible | Nadrieril | 2019-08-19 | 1 | -104/+94 |
| | |||||
* | s/Thunk/Value/ | Nadrieril | 2019-08-17 | 1 | -34/+34 |
| | |||||
* | s/Value/ValueF/ | Nadrieril | 2019-08-16 | 1 | -54/+56 |
| | |||||
* | Remove dead code | Nadrieril | 2019-08-16 | 1 | -5/+5 |
| | |||||
* | Typecheck before normalizing in tests | Nadrieril | 2019-08-16 | 1 | -4/+1 |
| | |||||
* | Avoid capture when typechecking union constructor | Nadrieril | 2019-08-16 | 1 | -2/+1 |
| | |||||
* | Reduce api surface of dhall crate | Nadrieril | 2019-08-16 | 1 | -6/+6 |
| | | | | Helps detect unused code | ||||
* | Disable some unused unstable features | Nadrieril | 2019-08-15 | 1 | -1/+1 |
| | |||||
* | Store Imports in their own node instead of in Embed | Nadrieril | 2019-08-13 | 1 | -0/+3 |
| | |||||
* | Considerably simplify Embed handling | Nadrieril | 2019-08-13 | 1 | -2/+1 |
| | |||||
* | Stop tracking the absence of Embed values at the type level | Nadrieril | 2019-08-13 | 1 | -7/+4 |
| | |||||
* | No need to track the absence of `Span`s at the type level | Nadrieril | 2019-08-13 | 1 | -8/+8 |
| | |||||
* | s/TypeThunk/TypedThunk/g | Nadrieril | 2019-08-13 | 1 | -16/+24 |
| | |||||
* | Remove ensure_... macros in typecheck | Nadrieril | 2019-08-12 | 1 | -115/+89 |
| | | | | They weren't worth it | ||||
* | Remove dhall::expr!() macro | Nadrieril | 2019-08-10 | 1 | -26/+81 |
| | | | | It's a lot of hassle for not a lot of benefit | ||||
* | Add support for dependent types | Nadrieril | 2019-08-08 | 1 | -20/+40 |
| | |||||
* | Add truncated Natural subtraction | Nadrieril | 2019-08-07 | 1 | -0/+1 |
| | |||||
* | Remove union literals from the language | Nadrieril | 2019-08-07 | 1 | -9/+0 |
| | |||||
* | Prepare for https://github.com/dhall-lang/dhall-lang/pull/630 | Nadrieril | 2019-08-06 | 1 | -35/+40 |
| | |||||
* | Auto-generate typechecking tests list | Nadrieril | 2019-08-06 | 1 | -395/+0 |
| | |||||
* | Change some tests | Nadrieril | 2019-08-06 | 1 | -0/+5 |
| | |||||
* | Add some new tests and implement import alternatives | Nadrieril | 2019-08-06 | 1 | -1/+1 |
| | |||||
* | Remove old-style optional literals | Nadrieril | 2019-08-06 | 1 | -23/+4 |
| | |||||
* | Inline headers | Nadrieril | 2019-08-06 | 1 | -0/+1 |
| | |||||
* | rustfmt | Nadrieril | 2019-08-03 | 1 | -25/+61 |
| | |||||
* | Merge pull request #93 from Nadrieril/catchup-spec | Nadrieril Feneanar | 2019-08-03 | 1 | -2/+2 |
|\ | | | | | Do some catch up on the spec | ||||
| * | Update dhall-lang submodule | Nadrieril | 2019-08-03 | 1 | -2/+2 |
| | | |||||
* | | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine-types | FintanH | 2019-08-03 | 1 | -8/+74 |
|\| | |||||
| * | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine | FintanH | 2019-08-03 | 1 | -5/+47 |
| |\ | |||||
| * | | Mark RecursiveRecordMerge as unreachable | FintanH | 2019-08-01 | 1 | -0/+1 |
| | | | |||||
| * | | Add the typechecking of RecursiveRecordMerge. | FintanH | 2019-08-01 | 1 | -8/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Simplify Const checking logic | FintanH | 2019-08-03 | 1 | -11/+7 |
| | | | |||||
* | | | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine-types | FintanH | 2019-08-03 | 1 | -5/+47 |
|\ \ \ | | |/ | |/| | |||||
| * | | Add unreachable call for RightBasedRecordMerge case | FintanH | 2019-07-31 | 1 | -0/+1 |
| | | | |||||
| * | | Reuse the merge_maps function to implement the right-biased union | FintanH | 2019-07-31 | 1 | -6/+6 |
| | | | |||||
| * | | Add case for RightBasedRecordMerge in the typechecking phase. | Fintan Halpenny | 2019-07-31 | 1 | -5/+46 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* / | Add typechecking for RecursiveRecordTypeMerge. | FintanH | 2019-08-01 | 1 | -7/+85 |
|/ | | | | | | | | | | The implementation brings with it intersection_with_key over HashMaps to help with the type checking of records of records. The implementation first checks that the Const values line up with the LHS and RHS. Then checks that combining the records does not result in a FieldCollision. It will finally return the shared Const type of the arguments. | ||||
* | clippy | Nadrieril | 2019-05-12 | 1 | -23/+10 |
| | |||||
* | Include success or failure prefix in test filtering | Nadrieril | 2019-05-12 | 1 | -4/+4 |
| | |||||
* | Implement binary encoding | Nadrieril | 2019-05-12 | 1 | -1/+1 |
| | | | | Closes #39 | ||||
* | Merge Type and Typed | Nadrieril | 2019-05-09 | 1 | -49/+40 |
| | |||||
* | Make visibilities more consistent | Nadrieril | 2019-05-09 | 1 | -9/+6 |
| | |||||
* | Rewrite the StaticType trait and everything around it | Nadrieril | 2019-05-09 | 1 | -1/+1 |
| | |||||
* | Reduce the distance between Type and Typed | Nadrieril | 2019-05-09 | 1 | -87/+78 |
| | |||||
* | Remove TypeIntermediate in favor of special-purpose functions | Nadrieril | 2019-05-09 | 1 | -214/+183 |
| | |||||
* | Small utility SubExpr::from_builtin | Nadrieril | 2019-05-09 | 1 | -9/+3 |
| |