Rob Rix
|
2fec9f283a
|
Factor the matched element out.
|
2017-08-04 10:05:58 -04:00 |
|
Rob Rix
|
da988a4c6f
|
Build up repetitions right-recursively.
|
2017-08-04 10:03:38 -04:00 |
|
Rob Rix
|
8406ba35c2
|
Correct the docs.
|
2017-08-04 09:47:45 -04:00 |
|
Rob Rix
|
075b77f931
|
🔥 unnecessary quantification.
|
2017-08-04 09:33:54 -04:00 |
|
Rob Rix
|
35f92f98c3
|
Fix a test now that we always try the error handler on errors.
|
2017-08-04 09:21:59 -04:00 |
|
Rob Rix
|
0f08846156
|
Always use the error handler when applicable.
|
2017-08-04 09:20:44 -04:00 |
|
Rob Rix
|
a778382e85
|
📝 disamb.
|
2017-08-04 09:16:24 -04:00 |
|
Rob Rix
|
17102a87b8
|
📝 Amb.
|
2017-08-04 09:15:15 -04:00 |
|
Rob Rix
|
0a8411e534
|
Disambiguate assignment results.
|
2017-08-04 09:11:22 -04:00 |
|
Rob Rix
|
7bd2d6b94b
|
Merge branch 'master' into delimited-control
|
2017-08-04 09:00:07 -04:00 |
|
Rob Rix
|
68d3a265ae
|
Fix a test with ambiguous results.
|
2017-08-04 08:58:28 -04:00 |
|
Rob Rix
|
61087b394e
|
Fix a test case which now succeeds.
|
2017-08-04 08:54:04 -04:00 |
|
Rob Rix
|
71642ae1bd
|
Fix a test case which fails at the end of input.
|
2017-08-04 08:52:08 -04:00 |
|
Rob Rix
|
9e1aad5032
|
Fix a test case which fails with the earlier error.
|
2017-08-04 08:50:56 -04:00 |
|
Rob Rix
|
c117abe1fd
|
Disallow catches of committed choices from recovering at the end of input.
|
2017-08-04 08:49:54 -04:00 |
|
Yuki Izumi
|
2e097f3dc3
|
Add Strikethrough to Data.Syntax.Markup
|
2017-08-04 18:08:08 +10:00 |
|
Rob Rix
|
9d1ade2654
|
Factor out the list & state.
|
2017-08-03 22:46:46 -04:00 |
|
Rob Rix
|
e9e9c54fa1
|
Correct a spec.
|
2017-08-03 21:32:47 -04:00 |
|
Rob Rix
|
47a3f1e713
|
Correct the tests.
|
2017-08-03 21:32:11 -04:00 |
|
Rob Rix
|
cabab1f9ed
|
Check advancement using the state offset instead of the counter.
|
2017-08-03 21:29:22 -04:00 |
|
Rob Rix
|
9bfe67afd9
|
🔥 stateError.
|
2017-08-03 21:26:43 -04:00 |
|
Rob Rix
|
a57aa0bf2b
|
Share the continuation.
|
2017-08-03 21:23:47 -04:00 |
|
Rob Rix
|
bece561240
|
Unfreeze the callstacks in <|>.
|
2017-08-03 21:13:35 -04:00 |
|
Rob Rix
|
4dded01e73
|
Preserve callstacks through exhaustiveness checks.
|
2017-08-03 21:11:29 -04:00 |
|
Rob Rix
|
ffb01ff388
|
Freeze the callstacks in <|>.
|
2017-08-03 21:10:08 -04:00 |
|
Rob Rix
|
abaad4fc76
|
Assignment is non-strict.
|
2017-08-03 21:05:11 -04:00 |
|
Rob Rix
|
cbff2fee2d
|
Take the first zero-error term, if any, before forcing the rest.
|
2017-08-03 21:04:38 -04:00 |
|
Rob Rix
|
42a22aad72
|
Amb is non-strict.
|
2017-08-03 21:03:42 -04:00 |
|
Rob Rix
|
0617502efe
|
Order repetitions greedily.
|
2017-08-03 20:52:27 -04:00 |
|
Rob Rix
|
d5749545ce
|
Children, projection, & source rules are unambiguous.
|
2017-08-03 20:51:46 -04:00 |
|
Rob Rix
|
e9c61048ec
|
Committed choices are really committed.
|
2017-08-03 20:30:55 -04:00 |
|
Rob Rix
|
cb58739e48
|
Select terms by the minimum error counter.
|
2017-08-03 20:26:51 -04:00 |
|
Rob Rix
|
788f435b1e
|
Define a disambiguation convenience.
|
2017-08-03 20:23:29 -04:00 |
|
Rob Rix
|
030b2967c3
|
Add a monotonic counter of the number of error handlers invoked.
|
2017-08-03 20:21:42 -04:00 |
|
Rob Rix
|
d1e3518732
|
Avoid recomputating the bodies of catch rules.
|
2017-08-03 20:17:59 -04:00 |
|
Rob Rix
|
92f2745bc3
|
Alternate entire children rules, not just successful ones.
|
2017-08-03 20:13:06 -04:00 |
|
Rob Rix
|
24b93e0ad6
|
Allow ambiguous parses with and without the error handler.
|
2017-08-03 20:00:45 -04:00 |
|
Rob Rix
|
232bf01302
|
Allow ambiguous matches past source, children, & projection rules.
|
2017-08-03 19:57:42 -04:00 |
|
Rob Rix
|
c4f1296a3b
|
Simplify committed choices with backtracking.
|
2017-08-03 19:54:51 -04:00 |
|
Rob Rix
|
dc282cdcb8
|
Return all matches from repetitions.
|
2017-08-03 19:51:41 -04:00 |
|
Rob Rix
|
8c4fdbc390
|
Halt non-advancing recursion.
|
2017-08-03 19:50:26 -04:00 |
|
Rob Rix
|
766e75c3b6
|
Correct the tests.
|
2017-08-03 19:48:24 -04:00 |
|
Rob Rix
|
ea29092469
|
Define a Bifunctor instance for Amb.
|
2017-08-03 19:40:07 -04:00 |
|
Rob Rix
|
143e6ec26d
|
Select the result with the fewest errors.
|
2017-08-03 19:36:51 -04:00 |
|
Rob Rix
|
f79e118d2e
|
Committed choices with alternatives attempt the alternative.
|
2017-08-03 19:31:16 -04:00 |
|
Timothy Clem
|
8bb4fe3a44
|
Merge pull request #1279 from github/the-great-tree-sitter-update
The great tree sitter update
|
2017-08-03 16:30:38 -07:00 |
|
Rob Rix
|
51185311af
|
Flatten Alt rules into a non-empty list.
|
2017-08-03 19:25:54 -04:00 |
|
Rob Rix
|
c0bdb15d61
|
Assignment ambiguously.
|
2017-08-03 19:17:17 -04:00 |
|
Timothy Clem
|
f5cfed5ee9
|
++tree-sitter-json for negative numbers
|
2017-08-03 15:47:50 -07:00 |
|
Timothy Clem
|
632536d6d1
|
Ruby changes landed on master
|
2017-08-03 15:31:08 -07:00 |
|