summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make make_parser into a proc_macro_attributeNadrieril2019-09-013-7/+12
| | | | That way rustfmt will format the contents of the parser.
* Change parser macros to use a function-like syntaxNadrieril2019-09-016-998/+1188
| | | | This makes the parser code look much less magical.
* Rewrite the make_parser macro as a proc_macroNadrieril2019-09-016-209/+456
|
* Update dhall-lang submoduleNadrieril2019-08-311-0/+0
|
* Don't URL-decode path segmentsNadrieril2019-08-317-26/+36
|
* Merge pull request #109 from Nadrieril/tomap-parsingNadrieril Feneanar2019-08-319-10/+38
|\ | | | | Implement parsing of `toMap` keyword
| * Implement parsing of `toMap` keywordNadrieril2019-08-319-10/+38
|/
* Rework test harness to prepare for new types of testsNadrieril2019-08-303-362/+457
|
* Cleanup conversion of `Value` to `Expr`Nadrieril2019-08-304-103/+67
|
* Merge pull request #108 from Nadrieril/rename-subexprNadrieril Feneanar2019-08-3013-135/+129
|\ | | | | Rename SubExpr to Expr
| * Rename SubExpr to Expr, and Expr to RawExprNadrieril2019-08-2813-135/+129
|/ | | | For clarity, and consistency with Value
* clippyNadrieril2019-08-277-24/+28
|
* Merge pull request #107 from Nadrieril/rework-parserNadrieril Feneanar2019-08-276-224/+288
|\ | | | | Rework parser macros
| * s/token_rule/rule/Nadrieril2019-08-271-20/+20
| |
| * Rework parse macros to avoid the large ParsedValue enumNadrieril2019-08-274-149/+140
| |
| * Remove rule aliasingNadrieril2019-08-273-108/+95
| |
| * WordingNadrieril2019-08-261-13/+13
| |
| * Remove rule_group macroNadrieril2019-08-261-22/+4
| |
| * Match on rules in parser instead of on ParsedValuesNadrieril2019-08-263-26/+130
|/
* Merge pull request #106 from Nadrieril/dont-compile-twiceNadrieril Feneanar2019-08-263-3/+7
|\ | | | | Tweak tests to avoid double compilation
| * Tweak tests to avoid double compilationNadrieril2019-08-263-3/+7
|/
* Merge pull request #105 from Nadrieril/keep-type-infoNadrieril Feneanar2019-08-269-481/+521
|\ | | | | Store type information everywhere in `Value`
| * Check correctness of type info in a few more placesNadrieril2019-08-261-17/+43
| |
| * Remove now unnecessary VoVF enumNadrieril2019-08-253-98/+53
| |
| * Rework apply_builtin to enforce preservation of type informationNadrieril2019-08-253-200/+173
| |
| * Enforce type information almost everywhereNadrieril2019-08-255-63/+53
| |
| * Check consistency of type informationNadrieril2019-08-252-27/+30
| |
| * Keep type information through normalizationNadrieril2019-08-254-90/+173
| |
| * Clarify which syntax elements are completely handled in the tck phaseNadrieril2019-08-232-25/+24
| |
| * Keep type information after RecursiveRecordTypeMergeNadrieril2019-08-233-90/+26
| |
| * Don't use take_mut::take lightly since normalize_whnf might panicNadrieril2019-08-211-9/+18
| |
| * Reduce API surface of dhall crateNadrieril2019-08-203-24/+10
| |
| * Move type construction fns from serde_dhall to dhallNadrieril2019-08-202-27/+40
| |
| * 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