summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/nze (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More nice errors plus some refactorNadrieril2020-02-021-3/+0
|
* Implement once nice error using annotate_snippetsNadrieril2020-02-011-0/+4
|
* Factor out custom Lazy structNadrieril2020-01-313-35/+83
|
* Use Rc equality to shortcut Value equalityNadrieril2020-01-301-2/+1
|
* Tweak ConstantClosureNadrieril2020-01-301-13/+7
|
* Eval Thunk by moveNadrieril2020-01-301-4/+3
|
* Get rid of all the manual Ref borrowsNadrieril2020-01-301-115/+55
|
* Use OnceCell to enable returning &ValKindNadrieril2020-01-301-68/+53
|
* Replace Form with a pair of RefCells, in preparation for OnceCellNadrieril2020-01-301-88/+71
|
* Move Form::PartialExpr into ThunkNadrieril2020-01-301-36/+46
|
* Only the Form must be in a RefCellNadrieril2020-01-301-61/+67
|
* Avoid unnecessary allocations of `Value`sNadrieril2020-01-303-22/+21
|
* Clarify normalization to ensure we only nze onceNadrieril2020-01-303-54/+52
|
* Move Thunk value into ValueInternalNadrieril2020-01-302-35/+32
|
* Prepare ValueInternal with new `Form`sNadrieril2020-01-301-53/+50
|
* Factor out text literals in ValueNadrieril2020-01-302-39/+87
| | | | This allows encapsulating invariants properly and reducing clutter
* Remove type parameter from ValueKindNadrieril2020-01-302-22/+16
|
* Remove Value visitorNadrieril2020-01-303-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.
* Move main API to lib.rsNadrieril2020-01-302-2/+2
|
* Move normalize under nzeNadrieril2020-01-303-3/+510
|
* Move Value-related stuff under semantics::nzeNadrieril2020-01-304-0/+906
|
* Encapsulate partially applied builtin in a separate structNadrieril2020-01-301-8/+0
|
* No need for the current env to tck Foo/build closuresNadrieril2020-01-301-9/+2
|
* Cleanup variable handlingNadrieril2020-01-291-1/+1
|
* Move envs to their own filesNadrieril2020-01-293-118/+89
|
* Finally get rid of all of the shift/subst_shift !Nadrieril2020-01-291-3/+0
|
* s/QuoteEnv/VarEnv/Nadrieril2020-01-291-7/+6
|
* Use NameEnv in tyexpr_to_exprNadrieril2020-01-291-17/+14
|
* Remove dead codeNadrieril2020-01-291-396/+15
|
* Thread env through nztion to fix Foo/build closuresNadrieril2020-01-281-0/+5
|
* Fix all sorts of variable shenanigansNadrieril2020-01-281-8/+26
|
* Fix a bunch of bugs and more tckNadrieril2020-01-271-7/+17
|
* Fix some variable shifting failuresNadrieril2020-01-241-0/+8
|
* Implement basic env-based normalization for Value-based TyExprNadrieril2020-01-231-0/+2
|
* Prepare Value for reverse variablesNadrieril2020-01-212-2/+14
| | | | I thought it would work ><. It's a bit too early
* Split TyEnv into two envsNadrieril2020-01-201-102/+152
|
* Reimplement basic tck/nze with proper environmentsNadrieril2020-01-202-0/+401
Inspired from dhall_haskell