Rob Rix
|
697ccf1154
|
Don’t backtrack for Alt.
|
2017-08-06 18:51:23 -04:00 |
|
Rob Rix
|
07e26d03e2
|
Produce the current state on error.
|
2017-08-06 18:51:19 -04:00 |
|
Rob Rix
|
100dd2f305
|
🔥 MonoLocalBinds.
|
2017-08-06 18:51:09 -04:00 |
|
Rob Rix
|
c3dc25dc55
|
🔥 some redundant Eq constraints.
|
2017-08-06 18:50:46 -04:00 |
|
Rob Rix
|
668f81d655
|
Cache the first set of productions on choices.
|
2017-08-06 18:50:41 -04:00 |
|
Rob Rix
|
86e18af4cd
|
Choose holds an Array of choices.
|
2017-08-06 18:50:16 -04:00 |
|
Rob Rix
|
1a43be18d5
|
Evaluate a few values strictly.
|
2017-08-06 18:50:09 -04:00 |
|
Rob Rix
|
c4a30e9fe6
|
Compute the expected symbols as the first set of the current assignment.
|
2017-08-06 18:50:01 -04:00 |
|
Rob Rix
|
38b9821c1d
|
Define a function computing an assignment’s first set of productions.
|
2017-08-06 18:49:47 -04:00 |
|
Rob Rix
|
7277ea4a3a
|
Turn MonoLocalBinds on for Data.Syntax.
|
2017-08-06 18:49:40 -04:00 |
|
Rob Rix
|
ba5551fb07
|
Merge branch 'faster-union-instance-compilation' into delimited-control
|
2017-08-06 18:47:11 -04:00 |
|
Rob Rix
|
711dcdb203
|
Define GAlign over Union non-inductively.
|
2017-08-06 16:35:53 -04:00 |
|
Rob Rix
|
ba895fec3f
|
Define ToJSONFields over Union non-inductively.
|
2017-08-06 16:32:17 -04:00 |
|
Rob Rix
|
eed5934a21
|
Define the Diffable instance for Unions without induction.
|
2017-08-06 16:25:58 -04:00 |
|
Rob Rix
|
0e19a8ed7b
|
Define ConstructorName without reference to union decomposition.
|
2017-08-06 16:25:13 -04:00 |
|
Rob Rix
|
07c81f114f
|
Move the ConstructorName instance over sums up.
|
2017-08-06 16:25:04 -04:00 |
|
Rob Rix
|
1fa09cebe3
|
Constrain the types in the union instead of constraining the Union.
|
2017-08-06 16:23:27 -04:00 |
|
Rob Rix
|
9d4ab1a878
|
Bump effects for faster compilation.
https://github.com/joshvera/effects/pull/10
|
2017-08-06 16:21:58 -04:00 |
|
Rob Rix
|
48d368683c
|
Combine the alternatives using sconcat.
|
2017-08-04 12:27:43 -04:00 |
|
Rob Rix
|
3e95004249
|
Use record wildcards to unpack the state.
|
2017-08-04 12:04:50 -04:00 |
|
Rob Rix
|
a433fe8072
|
Abbreviate the definition of state.
|
2017-08-04 11:29:34 -04:00 |
|
Rob Rix
|
91f149310d
|
Inline assignBy to keep it out of the profile.
|
2017-08-04 11:25:50 -04:00 |
|
Rob Rix
|
8c13aadce0
|
Merge uncommitted choices at the right.
|
2017-08-04 10:47:45 -04:00 |
|
Rob Rix
|
a8d7ee531a
|
Simplify how alternatives append onto Alt rules.
|
2017-08-04 10:45:07 -04:00 |
|
Rob Rix
|
9dd03613f8
|
nodeSymbol & stateNodes cannot be unpacked.
|
2017-08-04 10:43:25 -04:00 |
|
Rob Rix
|
bc930773d1
|
Allow Location rules to participate in committed choices.
|
2017-08-04 10:32:04 -04:00 |
|
Rob Rix
|
fc6b49c4ec
|
Freeze the call stacks for location & projection rules.
|
2017-08-04 10:27:21 -04:00 |
|
Rob Rix
|
ed93b6e1fa
|
Unpack Node fields.
|
2017-08-04 10:11:19 -04:00 |
|
Rob Rix
|
76d57fc192
|
Unpack state fields.
|
2017-08-04 10:09:55 -04:00 |
|
Rob Rix
|
4b1365729b
|
Strictify state fields.
|
2017-08-04 10:08:50 -04:00 |
|
Rob Rix
|
e4bcdf293f
|
Compare the states directly.
|
2017-08-04 10:08:16 -04:00 |
|
Rob Rix
|
a72b1aaaf3
|
Use on to compare the offsets.
|
2017-08-04 10:06:36 -04:00 |
|
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 |
|
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 |
|