Rob Rix
|
3b5a19c832
|
Define eof as the End assignment.
|
2017-08-06 18:56:00 -04:00 |
|
Rob Rix
|
68257e5c3a
|
Add an assignment which only matches at the end of input.
|
2017-08-06 18:56:00 -04:00 |
|
Rob Rix
|
4e2d29491c
|
Stub in a Parsing instance for Assignment.
|
2017-08-06 18:53:51 -04:00 |
|
Rob Rix
|
8c9f6ab7fd
|
Assign elif/else blocks correctly.
|
2017-08-06 18:53:48 -04:00 |
|
Rob Rix
|
6daf3d648b
|
Move the MonadError instance up.
|
2017-08-06 18:53:44 -04:00 |
|
Rob Rix
|
5dfc165699
|
Re-export the Parsers module.
|
2017-08-06 18:53:41 -04:00 |
|
Rob Rix
|
302bef15ee
|
🔥 Data.Amb.
|
2017-08-06 18:53:29 -04:00 |
|
Rob Rix
|
1ca87c89e8
|
🔥 a redundant error handler.
|
2017-08-06 18:53:26 -04:00 |
|
Rob Rix
|
4a4d8ea9c5
|
🔥 the need for Bounded grammars for Alternative assignments.
|
2017-08-06 18:53:23 -04:00 |
|
Rob Rix
|
39e30c3d92
|
empty is Throw Nothing.
|
2017-08-06 18:53:19 -04:00 |
|
Rob Rix
|
c4c6c389aa
|
Throw Nothing is the right-identity of <|>.
|
2017-08-06 18:53:15 -04:00 |
|
Rob Rix
|
7713277876
|
Throw Nothing is the left-identity of <|>.
|
2017-08-06 18:53:09 -04:00 |
|
Rob Rix
|
8d9d54dbcc
|
Throw takes its error in a Maybe.
|
2017-08-06 18:53:05 -04:00 |
|
Rob Rix
|
dafcd40067
|
Lookahead to prevent matching the else clause.
|
2017-08-06 18:53:02 -04:00 |
|
Rob Rix
|
3b9523ba58
|
Qualify the import of Data.Functor.Foldable.
|
2017-08-06 18:52:59 -04:00 |
|
Rob Rix
|
0ec05480f8
|
🔥 a redundant import.
|
2017-08-06 18:52:56 -04:00 |
|
Rob Rix
|
59fd521709
|
Add callstacks to while & until.
|
2017-08-06 18:52:52 -04:00 |
|
Rob Rix
|
56eb9407b9
|
Simplify ifStatement.
|
2017-08-06 18:52:49 -04:00 |
|
Rob Rix
|
357ffe6616
|
Simplify the definition of until.
|
2017-08-06 18:52:46 -04:00 |
|
Rob Rix
|
2bc2483af9
|
Define an until combinator.
|
2017-08-06 18:52:42 -04:00 |
|
Rob Rix
|
8d7fb65a4a
|
Better docs for while.
|
2017-08-06 18:52:39 -04:00 |
|
Rob Rix
|
59e6fd621c
|
🔥 stateErrorCounter.
|
2017-08-06 18:52:35 -04:00 |
|
Rob Rix
|
722e5407cd
|
🔥 the grammar parameter from State.
|
2017-08-06 18:52:31 -04:00 |
|
Rob Rix
|
2adbf0cfa1
|
Assign unambiguously.
|
2017-08-06 18:52:24 -04:00 |
|
Rob Rix
|
ac1adfe5bc
|
Uncommitted choices backtrack.
|
2017-08-06 18:52:20 -04:00 |
|
Rob Rix
|
4cba3fd2fc
|
🔥 redundant bindings.
|
2017-08-06 18:52:16 -04:00 |
|
Rob Rix
|
edfb98ff7d
|
Apply both rewrapping functions.
|
2017-08-06 18:52:11 -04:00 |
|
Rob Rix
|
341f806806
|
Remove the fallback from committed choice.
|
2017-08-06 18:52:06 -04:00 |
|
Rob Rix
|
ea26a943e5
|
Simplify catch handling again.
|
2017-08-06 18:52:01 -04:00 |
|
Rob Rix
|
295c933eaa
|
Export nodeError.
|
2017-08-06 18:51:57 -04:00 |
|
Rob Rix
|
b591c63c5d
|
Only attempt error recovery at nodes.
|
2017-08-06 18:51:53 -04:00 |
|
Rob Rix
|
04a9b2dc25
|
Don’t call error handlers for partial matches.
|
2017-08-06 18:51:49 -04:00 |
|
Rob Rix
|
d0677b71b7
|
Disable backtracking in repetitions.
|
2017-08-06 18:51:43 -04:00 |
|
Rob Rix
|
15eee07c5d
|
Revert "Parse unambiguously."
This reverts commit 02875b26dd52b1263f1f78d4e7537f29b20a91c0.
|
2017-08-06 18:51:34 -04:00 |
|
Rob Rix
|
4195cbe5ea
|
Parse unambiguously.
|
2017-08-06 18:51:27 -04:00 |
|
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 |
|