-
Recursive do seems to work when mdo, now deprecated, is used. However, using do rec syntax I find an error is always, incorrectly, indicated at the first appearance of
-
Hi,
I'd like to label some data and train a model for British addresses. The following would need to be done:
- [ ] scrape some real UK addresses from the internet
- [ ] design a tag set. UK addresse…
-
Earley paper is written on basis of "simple rewrite rules". They are similar to BNF. EBNF is bit more complex - contains repetitions, optional parts, alternatives. Wikipedia recommends to convert EBNF…
-
Trying to build a new blank `yesod-postgres` project on a fresh Ubuntu install, but it fails.
## Steps to reproduce
```
sudo apt-get update
sudo apt-get install -y build-essential curl
curl h…
jezen updated
7 years ago
-
I'm writing a parser to parse either 0) a sequence of digits with no grouping characters, or 1) a sequence of digits with grouping characters like commas.
I'm getting some behavior I wouldn't expect,…
-
Would it be possible to tag parsed items with a `Data.Loc.L` rather than an `Int`? Having both the column and row number is very useful.
More specifically,
``` haskell
allParses :: (forall s. ST s (…
-
Hei Olle!
It drove me crazy to remove left recursion in Parsec. Therefore a big thank you for writing Earley.
Maybe it will become a thing in the future. ;)
I am trying to parse a toy programming la…
kindl updated
9 years ago
-
a user might want to observe sharing themselves (e.g. manual annotations, http://hackage.haskell.org/package/data-reify, their own monad, etc.), and pass it down to the parser.
We can put it in a `.I…
-
```
[2 of 4] Compiling Text.Earley.Parser ( Text/Earley/Parser.hs, dist/build/Text/Earley/Parser.o )
Text/Earley/Parser.hs:83:3: Warning:
Ignoring unusable UNPACK pragma on the third argument of …
-
Just curious what you think about this behavior:
When defining an operator `if _ _` with _right_ associativity, then
```
if if x y z
```
will be successfully parsed as
```
if (if x y) z
```
bu…