summaryrefslogtreecommitdiff
path: root/dhall/src/semantics (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-02-13TyExpr always carries a typeNadrieril2-86/+67
2020-02-13Rework annotation and Sort handlingNadrieril2-69/+76
2020-02-13Simplify conversions to/from TyExprNadrieril4-108/+88
2020-02-13Only store type at root node in tyexprNadrieril2-29/+26
2020-02-11Introduce LitKind to factor out common enum nodesNadrieril4-118/+124
2020-02-11Remove the Embed variant from ExprKindNadrieril7-29/+17
2020-02-10Remove need for EmbedNadrieril4-20/+22
This was an archaic leftover from copying the Haskell datatypes anyway
2020-02-09Remove types from NzEnvNadrieril7-42/+47
2020-02-09Automate conversion between envsNadrieril3-22/+26
2020-02-09Remove all types from ValueNadrieril5-89/+16
2020-02-09Take Hir for typecheckNadrieril6-54/+51
2020-02-09Resolve variables alongside import resolutionNadrieril3-44/+87
2020-02-09Resolve by ref instead of by mutNadrieril1-59/+77
2020-02-09Introduce environment for import resolutionNadrieril1-31/+56
2020-02-09Remove extra types stored in ValueNadrieril3-47/+20
2020-02-09Remove most TyExpr from normalizationNadrieril7-108/+80
2020-02-09Add Hir as untyped alternative to TyExprNadrieril5-65/+133
2020-02-09Remove move type propagation through ValueNadrieril4-215/+76
2020-02-09Remove most reliance on types stored in ValueNadrieril5-67/+88
2020-02-09Massively deduplicate test harnessNadrieril1-1/+4
2020-02-06Implement some record simplificationsNadrieril1-2/+92
2020-02-05Normalize toMapNadrieril3-15/+55
2020-02-05Typecheck record completionNadrieril1-25/+51
2020-02-05Typecheck projection by typeNadrieril1-2/+25
2020-02-04Implement typechecking of toMapNadrieril1-1/+79
2020-02-04Add basic pretty type errors to all errorsNadrieril1-46/+66
2020-02-02Add local test files on top of dhall-lang testsNadrieril1-0/+1
2020-02-02Tweak errorsNadrieril1-44/+43
2020-02-02Use Spans consistently by valueNadrieril3-13/+13
2020-02-02Let rustfmt format string literalsNadrieril1-43/+44
2020-02-02More errorsNadrieril2-5/+82
2020-02-02More nice errors plus some refactorNadrieril3-100/+113
2020-02-01Implement once nice error using annotate_snippetsNadrieril2-22/+36
2020-01-31Factor out custom Lazy structNadrieril3-35/+83
2020-01-30Use Rc equality to shortcut Value equalityNadrieril1-2/+1
2020-01-30Tweak ConstantClosureNadrieril2-25/+21
2020-01-30Eval Thunk by moveNadrieril1-4/+3
2020-01-30Get rid of all the manual Ref borrowsNadrieril2-149/+75
2020-01-30Use OnceCell to enable returning &ValKindNadrieril2-71/+56
2020-01-30Replace Form with a pair of RefCells, in preparation for OnceCellNadrieril1-88/+71
2020-01-30Move Form::PartialExpr into ThunkNadrieril1-36/+46
2020-01-30Only the Form must be in a RefCellNadrieril1-61/+67
2020-01-30Avoid unnecessary allocations of `Value`sNadrieril5-25/+25
2020-01-30Clarify normalization to ensure we only nze onceNadrieril4-58/+55
2020-01-30Move Thunk value into ValueInternalNadrieril2-35/+32
2020-01-30Prepare ValueInternal with new `Form`sNadrieril1-53/+50
2020-01-30Factor out text literals in ValueNadrieril3-83/+110
This allows encapsulating invariants properly and reducing clutter
2020-01-30Remove type parameter from ValueKindNadrieril3-31/+20
2020-01-30Remove Value visitorNadrieril3-309/+87
It's mostly useful when we can change types, but it's also too constraining if we can, because then we can't enforce complex invariants like the one for TextLit.
2020-01-30Move parse and resolve up a levelNadrieril4-4/+3