summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use Ret in apply_builtinNadrieril2019-08-202-96/+101
|
* Propagate type information in Value::app()Nadrieril2019-08-204-35/+34
|
* Track evaluation status alongside ValueF in VoVFNadrieril2019-08-203-68/+80
|
* No need for Cow in return type of get_typeNadrieril2019-08-204-27/+24
|
* Introduce a new enum to store either a Value or a ValueFNadrieril2019-08-205-76/+153
|
* Naming tweaksNadrieril2019-08-205-45/+35
|
* Add Value::from_builtinNadrieril2019-08-203-37/+24
|
* Clarify conversion of Const/Builtin to ValueNadrieril2019-08-202-21/+29
|
* Merge pull request #104 from Nadrieril/rework-valueNadrieril Feneanar2019-08-2016-1963/+1501
|\ | | | | Rework Value
| * CleanupNadrieril2019-08-205-52/+65
| |
| * Standardize records of mixed kindsNadrieril2019-08-203-53/+17
| |
| * Reuse work to avoid complicated recursion in record mergingNadrieril2019-08-203-151/+25
| |
| * Tweak Ok/Err handling in typecheckNadrieril2019-08-201-157/+128
| |
| * Tweak Value APINadrieril2019-08-191-28/+19
| |
| * Merge TypedValue and ValueNadrieril2019-08-198-372/+245
| |
| * Reduce untyped construction of ValuesNadrieril2019-08-196-115/+115
| |
| * Use TypedValue instead of Typed in normalize and typecheckNadrieril2019-08-199-339/+260
| | | | | | | | | | Now Typed is only used in dhall::phase, similarly to Parsed/Resolved/Normalized
| * s/to_valuef/to_whnf/ and avoid cloning ValueFs when possibleNadrieril2019-08-197-192/+182
| |
| * Merge ValueInternal and TypedValueInternalNadrieril2019-08-181-111/+79
| |
| * Rework ValueInternal and clarify invariants around ValueFNadrieril2019-08-185-78/+86
| |
| * s/Thunk/Value/Nadrieril2019-08-179-933/+936
| |
| * Share type alongside the value in a thunkNadrieril2019-08-162-40/+110
| |
| * Use generic Shift/Subst implsNadrieril2019-08-163-192/+186
| |
| * Store type in ThunkNadrieril2019-08-162-58/+71
| |
| * Remove Const-optimization for nowNadrieril2019-08-161-14/+5
| |
| * s/Value/ValueF/Nadrieril2019-08-168-339/+345
| |
| * Try to minimize untyped TypedThunksNadrieril2019-08-164-41/+57
| |
| * fixup! No need for generic Context anymoreNadrieril2019-08-161-1/+1
| |
| * Free variables don't exist anymoreNadrieril2019-08-161-21/+13
| |
| * No need for generic Context anymoreNadrieril2019-08-161-75/+38
| |
| * Remove dead codeNadrieril2019-08-168-115/+29
| |
| * Typecheck before normalizing in testsNadrieril2019-08-163-17/+21
| |
| * Avoid capture when typechecking union constructorNadrieril2019-08-161-2/+1
|/
* Reduce api surface of dhall crateNadrieril2019-08-1611-106/+92
| | | | Helps detect unused code
* dhall_proc_macros actually does not depend on dhall_syntax anymoreNadrieril2019-08-163-3/+0
|
* Use `!` type instead of custom empty typeNadrieril2019-08-165-18/+9
|
* rustfmtNadrieril2019-08-151-2/+1
|
* Disable some unused unstable featuresNadrieril2019-08-156-12/+4
|
* Fix variable substitutionNadrieril2019-08-151-4/+2
| | | | I have no idea how this didn't get caught before
* Merge pull request #103 from Nadrieril/precedence-climbingNadrieril Feneanar2019-08-155-199/+229
|\ | | | | Use precedence climbing to parse expressions with operators
| * Include precedence parsing in parser macrosNadrieril2019-08-152-133/+188
| |
| * No need for manual stack handling in parser anymoreNadrieril2019-08-151-142/+96
| |
| * Use precedence climbing to parse expressions with operatorsNadrieril2019-08-154-126/+147
|/ | | | This speeds up parsing around 30%
* Custom Debug impls to improve debug legibilityNadrieril2019-08-152-3/+37
|
* Remove special closures from ValueNadrieril2019-08-153-136/+62
| | | | Instead construct their values directly
* Fix bug in shifting contextsNadrieril2019-08-151-1/+10
|
* Fix typo in normalizationNadrieril2019-08-141-1/+1
|
* Merge pull request #102 from Nadrieril/inline-headersNadrieril Feneanar2019-08-1417-498/+343
|\ | | | | Implement inline headers parsing
| * Implement inline headers parsingNadrieril2019-08-1310-117/+119
| |
| * Implement Hash for ParsedSubExprNadrieril2019-08-134-29/+58
| |