Rob Rix
|
116b182c91
|
Merge pull request #1092 from github/simplified-json-rendering-path
Simplified json rendering path
|
2017-05-01 10:05:53 -04:00 |
|
Rob Rix
|
9193e91bf6
|
Correct some tests to only depend on the values.
|
2017-05-01 10:05:36 -04:00 |
|
Rob Rix
|
ccdb54e01e
|
Make the tests compile.
|
2017-05-01 10:01:59 -04:00 |
|
Rob Rix
|
5215d4bd77
|
Correct the tests.
|
2017-05-01 09:57:24 -04:00 |
|
Rob Rix
|
e9385c99e6
|
🔥 indexing.
|
2017-05-01 09:52:34 -04:00 |
|
Rob Rix
|
a7574b685a
|
🔥 the --debug flag.
|
2017-05-01 09:51:40 -04:00 |
|
Rob Rix
|
0bf52e3dde
|
Result has field selectors.
|
2017-04-28 15:54:34 -04:00 |
|
Rob Rix
|
8872a7ec6a
|
Errors record the symbol of the current node (if any).
|
2017-04-28 15:49:00 -04:00 |
|
Rob Rix
|
0168773814
|
Results hold errors instead of text.
|
2017-04-28 15:45:13 -04:00 |
|
Rob Rix
|
3d1e74bf4e
|
Define an Error datatype.
|
2017-04-28 15:34:18 -04:00 |
|
Rob Rix
|
250d095598
|
Result only has one case.
|
2017-04-28 15:31:23 -04:00 |
|
Rob Rix
|
a988d54ed6
|
Propagate errors from alternations.
|
2017-04-28 15:26:19 -04:00 |
|
Rob Rix
|
eb089bb571
|
Successful results can hold errors.
|
2017-04-28 15:24:42 -04:00 |
|
Rob Rix
|
ec8be238d1
|
Children assignments continue after the last child assignment.
|
2017-04-28 15:19:55 -04:00 |
|
Rob Rix
|
ca0d4328ff
|
Return the final state from assignAllFrom.
|
2017-04-28 15:18:33 -04:00 |
|
Rob Rix
|
c8e88c47eb
|
Correct the index fixtures.
|
2017-04-28 14:35:15 -04:00 |
|
Rob Rix
|
743935b098
|
Include all nodes in indices.
|
2017-04-28 14:35:04 -04:00 |
|
Rob Rix
|
ca93b0f6cf
|
Update all the fixtures.
|
2017-04-28 11:40:47 -04:00 |
|
Rob Rix
|
da22bee49e
|
Group SourceSpan fields together.
|
2017-04-28 11:35:50 -04:00 |
|
Rob Rix
|
f0f4ca393c
|
Merge branch 'master' into simplified-json-rendering-path
|
2017-04-28 09:51:07 -04:00 |
|
Rob Rix
|
cb040449bf
|
Correct the JSON diff fixtures.
|
2017-04-28 09:50:21 -04:00 |
|
Rob Rix
|
71371f6a96
|
Correct the other index fixture.
|
2017-04-28 09:48:40 -04:00 |
|
Rob Rix
|
abb3b67757
|
Correct the other JSON parse tree fixture.
|
2017-04-28 09:47:58 -04:00 |
|
Rob Rix
|
983e5cb2e6
|
Correct the json index fixture.
|
2017-04-28 09:46:59 -04:00 |
|
Rob Rix
|
999a5b8eca
|
Correct the json parse fixture.
|
2017-04-28 09:41:48 -04:00 |
|
Rob Rix
|
285fb8f3a7
|
🔥 the unused ToJSON instances for Category and Range.
|
2017-04-28 09:25:12 -04:00 |
|
Rob Rix
|
a14b241a35
|
Merge pull request #1089 from github/committed-choice
Committed choice
|
2017-04-27 20:03:24 -04:00 |
|
Rob Rix
|
026f855f0b
|
Move indexing out of the JSON renderer.
|
2017-04-27 19:42:55 -04:00 |
|
Rob Rix
|
4334e24aa4
|
Replace the indexing renderer with an indexing operation.
|
2017-04-27 19:40:54 -04:00 |
|
Rob Rix
|
6ed683f9be
|
🔥 jsonParseTree.
|
2017-04-27 19:38:18 -04:00 |
|
Rob Rix
|
4975dc61fe
|
Move decoration of terms out of the JSON renderer.
|
2017-04-27 19:36:35 -04:00 |
|
Rob Rix
|
013d998ef3
|
Extract a common handler for path-annotated rendering.
|
2017-04-27 19:27:03 -04:00 |
|
Rob Rix
|
66d611b460
|
Handle debug rendering for indices.
|
2017-04-27 19:24:41 -04:00 |
|
Rob Rix
|
c014c75b0e
|
Handle debug rendering for parse trees.
|
2017-04-27 19:23:31 -04:00 |
|
Rob Rix
|
9944b32d9f
|
Define a ToJSONFields instance for SourceText.
|
2017-04-27 19:22:22 -04:00 |
|
Rob Rix
|
59735e5dac
|
Don’t pass the debug flags to the renderers.
|
2017-04-27 19:13:18 -04:00 |
|
Rob Rix
|
5267ff4bb5
|
🔥 redundant parens.
|
2017-04-27 19:13:06 -04:00 |
|
Rob Rix
|
4394c2e833
|
🔥 the ToJSON instances for Data.Record.
|
2017-04-27 18:56:53 -04:00 |
|
Rob Rix
|
63b30ac1a3
|
Render parse trees/indices’ records to JSON.
|
2017-04-27 18:56:41 -04:00 |
|
Rob Rix
|
862fb3654b
|
Define a ToJSONFields instance for SourceSpan.
|
2017-04-27 18:51:41 -04:00 |
|
Rob Rix
|
70dd381f26
|
Simplify the ToJSONFields instance for Syntax.
|
2017-04-27 18:28:52 -04:00 |
|
Rob Rix
|
fed06ff0e1
|
Define ToJSONFields instances for Free & FreeF.
|
2017-04-27 18:23:10 -04:00 |
|
Rob Rix
|
3bf4f63e0c
|
Define a ToJSONFields instance for CofreeF.
|
2017-04-27 18:17:05 -04:00 |
|
Rob Rix
|
607d4f0398
|
Define a ToJSONFields instance for SplitPatch.
|
2017-04-27 18:10:31 -04:00 |
|
Rob Rix
|
1520fb0c2b
|
Replace syntaxToTermField with a ToJSONFields instance.
|
2017-04-27 18:10:12 -04:00 |
|
Rob Rix
|
43a5580bf5
|
Define a ToJSONFields instance for Terms.
|
2017-04-27 18:05:08 -04:00 |
|
Rob Rix
|
5afd5b8fa6
|
Distribute ToJSONFields through Maybe.
|
2017-04-27 17:56:24 -04:00 |
|
Rob Rix
|
5beff62cbc
|
Define ToJSONFields instances for Range and Category.
|
2017-04-27 17:53:36 -04:00 |
|
Rob Rix
|
adf868e5c8
|
Add a class to produce JSON fields for a type.
|
2017-04-27 17:49:37 -04:00 |
|
Rob Rix
|
17d413d267
|
Get all the fields uniformly.
|
2017-04-27 16:58:39 -04:00 |
|