summaryrefslogtreecommitdiff
path: root/dhall/src/phase (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update dhall-lang submoduleNadrieril2019-08-071-0/+3
|
* Flatten nested let bindingsNadrieril2019-08-071-6/+40
|
* Remove an annoying redundancy in the test harnessNadrieril2019-08-071-2/+2
|
* Add binary-decode testsNadrieril2019-08-071-0/+21
|
* Add truncated Natural subtractionNadrieril2019-08-072-0/+11
|
* Remove union literals from the languageNadrieril2019-08-073-25/+3
|
* Various parsing tweaksNadrieril2019-08-071-3/+3
|
* Generalize empty list annotationsNadrieril2019-08-061-2/+6
|
* Prepare for https://github.com/dhall-lang/dhall-lang/pull/630Nadrieril2019-08-063-42/+66
|
* rustfmtNadrieril2019-08-061-1/+2
|
* Auto-generate typechecking tests listNadrieril2019-08-061-395/+0
|
* Change some testsNadrieril2019-08-061-0/+5
|
* RFC3986 URLsNadrieril2019-08-061-1/+7
|
* Add some testsNadrieril2019-08-061-0/+10
|
* Add some new tests and implement import alternativesNadrieril2019-08-062-3/+3
|
* rustfmtNadrieril2019-08-061-7/+10
|
* Update dhall-lang submoduleNadrieril2019-08-061-0/+2
|
* Remove old-style optional literalsNadrieril2019-08-063-37/+16
|
* Inline headersNadrieril2019-08-063-15/+21
|
* rustfmtNadrieril2019-08-032-26/+64
|
* Merge pull request #93 from Nadrieril/catchup-specNadrieril Feneanar2019-08-032-14/+14
|\ | | | | Do some catch up on the spec
| * Update dhall-lang submoduleNadrieril2019-08-031-12/+12
| |
| * Update dhall-lang submoduleNadrieril2019-08-031-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine-typesFintanH2019-08-032-8/+128
|\|
| * Merge remote-tracking branch 'origin/master' into fintan/typecheck-combineFintanH2019-08-032-14/+57
| |\
| * | Mark RecursiveRecordMerge as unreachableFintanH2019-08-011-0/+1
| | |
| * | Add the typechecking of RecursiveRecordMerge.FintanH2019-08-012-8/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 logicFintanH2019-08-031-11/+7
| | |
* | | Merge remote-tracking branch 'origin/master' into fintan/typecheck-combine-typesFintanH2019-08-032-6/+48
|\ \ \ | | |/ | |/|
| * | Add unreachable call for RightBasedRecordMerge caseFintanH2019-07-311-0/+1
| | |
| * | Reuse the merge_maps function to implement the right-biased unionFintanH2019-07-312-7/+7
| | |
| * | Add case for RightBasedRecordMerge in the typechecking phase.Fintan Halpenny2019-07-311-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.FintanH2019-08-012-7/+117
|/ | | | | | | | | | 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.
* Finish implementing binary encodingNadrieril2019-05-121-6/+8
|
* clippyNadrieril2019-05-122-120/+112
|
* Include success or failure prefix in test filteringNadrieril2019-05-122-6/+6
|
* Implement binary encodingNadrieril2019-05-125-25/+310
| | | | Closes #39
* Write a custom map type that allows duplicatesNadrieril2019-05-101-29/+38
|
* Merge Type and TypedNadrieril2019-05-092-104/+54
|
* Fix missing methods for testsNadrieril2019-05-091-0/+8
|
* Make visibilities more consistentNadrieril2019-05-095-57/+51
|
* Rewrite Deserialize trait around new Value and TypeNadrieril2019-05-091-7/+1
|
* Rewrite the StaticType trait and everything around itNadrieril2019-05-092-47/+12
|
* Tweak TypedNadrieril2019-05-091-15/+16
|
* Reduce the distance between Type and TypedNadrieril2019-05-092-109/+97
|
* Remove TypeIntermediate in favor of special-purpose functionsNadrieril2019-05-091-214/+183
|
* Small utility SubExpr::from_builtinNadrieril2019-05-091-9/+3
|
* ExprF need not be generic in LabelNadrieril2019-05-092-7/+5
|
* Make shift fallible and improve shift ergonomicsNadrieril2019-05-092-11/+20
|
* Detect duplicate record fields in typecheckNadrieril2019-05-093-71/+71
|