summaryrefslogtreecommitdiff
path: root/dhall/src/normalize.rs (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rework normalization to reduce expensive Value copyingNadrieril2019-05-031-457/+494
* Apply builtin arguments lazilyNadrieril2019-05-031-143/+165
* Avoid unnecessary RefCell::borrow_mutNadrieril2019-05-031-6/+33
* Update normalization testsNadrieril2019-05-021-11/+12
* Update dhall-lang submoduleNadrieril2019-05-021-16/+25
* Remove shift0Nadrieril2019-05-021-18/+21
* Instead of possibly nonexistent Type, treat Sort speciallyNadrieril2019-05-021-25/+25
* Store Thunk in NormalizedNadrieril2019-05-021-5/+10
* TweaksNadrieril2019-05-021-45/+39
* Fix NF tracking errorNadrieril2019-04-301-2/+3
* Fix shifting. This completely destroys sharing so performance is dead.Nadrieril2019-04-301-3/+7
* Lazily process unnormalizable expressionNadrieril2019-04-301-9/+36
* Avoid some rewrapping of thunksNadrieril2019-04-301-34/+49
* Mutate thunk contents directly if sole ownerNadrieril2019-04-301-2/+8
* Normalize mutablyNadrieril2019-04-301-30/+120
* Don't borrow from thunk more than necessaryNadrieril2019-04-301-0/+4
* Pass references when possibleNadrieril2019-04-301-64/+87
* Merge Typed and PartiallyNormalizedNadrieril2019-04-301-42/+32
* Store a Thunk in TypedNadrieril2019-04-301-19/+5
* Store thunks in the normalization contextNadrieril2019-04-301-12/+13
* Store thunks behind Rc<RefCell<_>> to ensure minimal computationNadrieril2019-04-301-77/+159
* Remove NF/WHNF distinction at runtimeNadrieril2019-04-291-93/+72
* Make NF and WHNF custom types instead of aliasesNadrieril2019-04-291-3/+5
* Don't shift by mutable refNadrieril2019-04-291-93/+106
* Store thunk in Value::LambdaNadrieril2019-04-291-19/+17
* Allow representing normal form as a semantic valueNadrieril2019-04-291-226/+340
* Properly substitute when typing AppNadrieril2019-04-291-12/+173
* Use PartiallyNormalized throughout typecheckingNadrieril2019-04-281-4/+8
* Move Pi to WHNFNadrieril2019-04-271-0/+10
* Replace TypeInternal::RecordType with WHNF::RecordTypeNadrieril2019-04-271-4/+17
* Store thunks uniformly in WHNFNadrieril2019-04-271-59/+42
* Abstract out thunks in type positionNadrieril2019-04-271-22/+64
* Rename Now to ThunkNadrieril2019-04-271-45/+44
* Define new intermediate expression typeNadrieril2019-04-271-19/+36
* Using only shift0 was not such a great ideaNadrieril2019-04-271-23/+19
* Respect import boundary in normalizationNadrieril2019-04-251-1/+3
* Store context in TypedNadrieril2019-04-221-14/+7
* Avoid shift_subst in typecheckNadrieril2019-04-221-1/+15
* Prepare for interop between two contextsNadrieril2019-04-211-17/+37
* Embrace TypeInternal as a semantic valueNadrieril2019-04-211-0/+1
* An empty optional value is purely semanticNadrieril2019-04-201-8/+5
* Implement more normalization simplificationsNadrieril2019-04-201-9/+16
* shift by mutable ref to avoid reallocationsNadrieril2019-04-201-80/+71
* TweaksNadrieril2019-04-201-5/+6
* AppliedBuiltin does not need a contextNadrieril2019-04-201-25/+23
* Avoid a lot of unnecessary cloning in apply_builtinNadrieril2019-04-201-126/+183
* CleanupNadrieril2019-04-201-166/+144
* Swap importNadrieril2019-04-201-62/+54
* Remove last remnant of expr buildingNadrieril2019-04-201-12/+29
* Introduce special closures to avoid constructing exprsNadrieril2019-04-201-34/+67