GithubHelp home page GithubHelp logo

backtracking with try about parsec HOT 3 CLOSED

haskell avatar haskell commented on June 19, 2024
backtracking with try

from parsec.

Comments (3)

mrkkrp avatar mrkkrp commented on June 19, 2024

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.

aslatter avatar aslatter commented on June 19, 2024

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.

mrkkrp avatar mrkkrp commented on June 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.