summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Implement rule aliasing and simplify parser codeNadrieril2019-09-055-297/+344
|
* Add mapping functions to InterpolatedTextContentsNadrieril2019-09-033-26/+54
|
* Use map_mut in ValueF::normalize_mutNadrieril2019-09-032-16/+2
|
* Merge pull request #111 from Nadrieril/resolve-mutNadrieril Feneanar2019-09-037-241/+426
|\ | | | | Resolve imports by mutating Expr instead of cloning it
| * Merge branch 'master' into resolve-mutNadrieril Feneanar2019-09-032-125/+101
| |\ | |/ |/|
* | cargo upgrade and fix proc_macro2 version conflictNadrieril2019-09-032-125/+101
| |
| * Resolve imports by mutating Expr instead of cloning itNadrieril2019-09-036-244/+421
| |
| * No need to change the type of Embed when resolving anymoreNadrieril2019-09-033-16/+24
|/
* Upgrade rust toolchainNadrieril2019-09-038-41/+34
|
* Merge pull request #110 from Nadrieril/parser-proc-macroNadrieril Feneanar2019-09-029-962/+1351
|\ | | | | Rewrite parser macros as proc_macros
| * Improve hygiene of identifiersNadrieril2019-09-021-13/+20
| |
| * Parse polymorphically in the Embed parameterNadrieril2019-09-023-102/+130
| |
| * We don't use the try_blocks feature anymoreNadrieril2019-09-021-1/+0
| |
| * Separate both parser proc_macros into their own filesNadrieril2019-09-023-90/+95
| |
| * Use proper hygiene for `Parsers` and `Rule`Nadrieril2019-09-024-19/+44
| |
| * Properly parse the argument of make_parser as an implNadrieril2019-09-022-100/+65
| |
| * Get rid of EntryPoint magicNadrieril2019-09-023-168/+80
| |
| * Avoid use of bind_by_move_pattern_guards featureNadrieril2019-09-022-3/+9
| |
| * 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
| |