Comments (3)
Any reason you prefer to do it with Parsec (manually) instead of using something like tagsoup
? You could track this problem further and create really minimal example, i.e. 5-10 lines that clearly demonstrate the bug (if it's a bug).
Parsec is currently in somewhat “suspended” state of development for some reason, you can take a look around to check how many issues and PR are ignored, so probably you won't get any feedback here.
I maintain a modern fork of Parsec — Megaparsec, you could give it a try, though.
from parsec.
Hi @deflexor - it looks like your parser is failing inside the head
element while parsing nested data. We can backtrack, but after backtracking the other alternative (a comment) doesn't work either so there isn't much we can do.
I think in markupParser
you're not handling whitespace in between elements here: P.many1 tagorcomment
.
Hey @mrkkrp - feel free to email me with any complaints about Parsec maintenance.
from parsec.
@aslatter, It's definitely good that you're back, I hope there won't be such “gaps” (half a year?) in future!
from parsec.
Related Issues (20)
- Allow semigroups-0.19: Also in tests. HOT 1
- New library with Hspec expectations for testing Parsec parsers HOT 1
- Export internals
- Documentation Error: <||> should be <|?>
- "unexpected end of input, expecting end of input" HOT 4
- Update metadata on Hackage
- (>>=) leaks memory
- Documentation regarding updatePosChar does not match the function's behaviour
- tokenise comments
- add a parameter to makeTokenParser to specify options for treating space by lexeme
- `updatePosChar` does not increment line number like doccumentation says
- GHC 9.2.1 release? HOT 2
- Which unfoldM is meant in "unfoldM uncons gives the [t] corresponding to the stream"?
- Compatibility with mtl-2.3 HOT 2
- string function not working correctly with (<|>) when the head of the strings are the same but their tails are not HOT 2
- Link in readme broken HOT 1
- How to handle include?
- Parsec crashes HOT 2
- cabal build -c 'mtl == 2.2.1' fails because of Safe Haskell HOT 7
- Generate syntax highlighting files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parsec.