Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement inline headers parsing | Nadrieril | 2019-08-13 | 3 | -39/+27 |
| | |||||
* | Implement Hash for ParsedSubExpr | Nadrieril | 2019-08-13 | 2 | -23/+34 |
| | |||||
* | Store Imports in their own node instead of in Embed | Nadrieril | 2019-08-13 | 4 | -13/+25 |
| | |||||
* | Considerably simplify Embed handling | Nadrieril | 2019-08-13 | 4 | -10/+4 |
| | |||||
* | Stop tracking the absence of Embed values at the type level | Nadrieril | 2019-08-13 | 5 | -30/+28 |
| | |||||
* | No need to track the absence of `Span`s at the type level | Nadrieril | 2019-08-13 | 4 | -39/+36 |
| | |||||
* | Typos | Nadrieril | 2019-08-13 | 1 | -2/+2 |
| | |||||
* | s/TypeThunk/TypedThunk/g | Nadrieril | 2019-08-13 | 5 | -86/+96 |
| | |||||
* | Swap Typed and TypeThunk | Nadrieril | 2019-08-13 | 2 | -91/+129 |
| | |||||
* | Add new error type for serde_dhall | Nadrieril | 2019-08-13 | 1 | -12/+0 |
| | |||||
* | Move api into its own crate | Nadrieril | 2019-08-13 | 6 | -436/+16 |
| | |||||
* | 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 | 5 | -42/+126 |
| | | | | It's a lot of hassle for not a lot of benefit | ||||
* | Update dhall-lang submodule | Nadrieril | 2019-08-10 | 1 | -0/+13 |
| | |||||
* | Update dhall-lang submodule | Nadrieril | 2019-08-08 | 1 | -0/+1 |
| | |||||
* | Add support for dependent types | Nadrieril | 2019-08-08 | 7 | -26/+83 |
| | |||||
* | Update dhall-lang submodule | Nadrieril | 2019-08-07 | 1 | -0/+3 |
| | |||||
* | Flatten nested let bindings | Nadrieril | 2019-08-07 | 1 | -6/+40 |
| | |||||
* | Remove an annoying redundancy in the test harness | Nadrieril | 2019-08-07 | 2 | -15/+3 |
| | |||||
* | Add binary-decode tests | Nadrieril | 2019-08-07 | 2 | -1/+53 |
| | |||||
* | Add truncated Natural subtraction | Nadrieril | 2019-08-07 | 2 | -0/+11 |
| | |||||
* | Remove union literals from the language | Nadrieril | 2019-08-07 | 4 | -37/+6 |
| | |||||
* | Various parsing tweaks | Nadrieril | 2019-08-07 | 1 | -3/+3 |
| | |||||
* | Forbid surrogate pairs and non-characters | Nadrieril | 2019-08-07 | 1 | -0/+2 |
| | |||||
* | Generalize empty list annotations | Nadrieril | 2019-08-06 | 1 | -2/+6 |
| | |||||
* | Prepare for https://github.com/dhall-lang/dhall-lang/pull/630 | Nadrieril | 2019-08-06 | 4 | -45/+71 |
| | |||||
* | rustfmt | Nadrieril | 2019-08-06 | 1 | -1/+2 |
| | |||||
* | Auto-generate typechecking tests list | Nadrieril | 2019-08-06 | 1 | -395/+0 |
| | |||||
* | Change some tests | Nadrieril | 2019-08-06 | 1 | -0/+5 |
| | |||||
* | RFC3986 URLs | Nadrieril | 2019-08-06 | 1 | -1/+7 |
| | |||||
* | Add some tests | Nadrieril | 2019-08-06 | 1 | -0/+10 |
| | |||||
* | Add some new tests and implement import alternatives | Nadrieril | 2019-08-06 | 3 | -4/+4 |
| | |||||
* | rustfmt | Nadrieril | 2019-08-06 | 1 | -7/+10 |
| | |||||
* | Update dhall-lang submodule | Nadrieril | 2019-08-06 | 1 | -0/+2 |
| | |||||
* | Remove old-style optional literals | Nadrieril | 2019-08-06 | 3 | -37/+16 |
| | |||||
* | Inline headers | Nadrieril | 2019-08-06 | 3 | -15/+21 |
| | |||||
* | rustfmt | Nadrieril | 2019-08-03 | 2 | -26/+64 |
| | |||||
* | Merge pull request #93 from Nadrieril/catchup-spec | Nadrieril Feneanar | 2019-08-03 | 2 | -14/+14 |
|\ | | | | | Do some catch up on the spec | ||||
| * | Update dhall-lang submodule | Nadrieril | 2019-08-03 | 1 | -12/+12 |
| | | |||||
| * | 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 | 3 | -9/+129 |
|\| | |||||
| * | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine | FintanH | 2019-08-03 | 3 | -15/+58 |
| |\ | |||||
| * | | Mark RecursiveRecordMerge as unreachable | FintanH | 2019-08-01 | 1 | -0/+1 |
| | | | |||||
| * | | Add the typechecking of RecursiveRecordMerge. | FintanH | 2019-08-01 | 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. | ||||
* | | | 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 | 3 | -6/+50 |
|\ \ \ | | |/ | |/| | |||||
| * | | 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 | 2 | -7/+7 |
| | | | |||||
| * | | Add case for RightBasedRecordMerge in the typechecking phase. | Fintan Halpenny | 2019-07-31 | 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. | ||||
* / | Add typechecking for RecursiveRecordTypeMerge. | FintanH | 2019-08-01 | 3 | -7/+120 |
|/ | | | | | | | | | | 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. |