Open links in new tab
  1. Parsec Connection Failure Error -10 and -11 - Stack Overflow

    Oct 19, 2021 · There might be several reasons for these two errors, however the Parsec docs does not give possible solutions. In my case going to App & Features > Optional Features > Add Feature and …

  2. Using Parsec to parse regular expressions - Stack Overflow

    Jan 26, 2012 · You should use Parsec.Expr.buildExprParser; it is ideal for this purpose. You simply describe your operators, their precedence and associativity, and how to parse an atom, and the …

  3. Right way to parse chain of various binary functions with `Parsec`?

    Jun 10, 2019 · It is true that Parsec has chainl and chainr to parse chains of either left-associative or right-associative operations (i.e. a -> a -> a). So I could quite easily parse something like x + y ...

  4. haskell - How to make the entire Parsec parsing process fail upon ...

    Dec 7, 2025 · How to make the entire Parsec parsing process fail upon certain conditions? Asked 4 months ago Modified 4 months ago Viewed 97 times

  5. Simply using parsec in python - Stack Overflow

    Aug 6, 2019 · Simply using parsec in python Ask Question Asked 6 years, 8 months ago Modified 6 years, 8 months ago

  6. Parsec: difference between "try" and "lookAhead"?

    Nov 16, 2013 · The combinators try and lookAhead are similar in that they both let Parsec "rewind", but they apply in different circumstances. In particular, try rewinds failure while lookAhead rewinds success.

  7. parsing - Parsec `try` should backtrack - Stack Overflow

    Sep 5, 2022 · Isn't Parsec's try supposed to backtrack when it encounters failure? For instance, if I have the code import Control.Applicative ((<|>)) import Debug.Trace import Text.Parsec (try) import Text.

  8. Parsec vs Yacc/Bison/Antlr: Why and when to use Parsec?

    Feb 21, 2011 · So when shall we use Parsec instead of, say, generating Haskell code from Bison/Antlr? This question might go a little beyond technology, and into the realm of industry practice. When …

  9. haskell - Why does my parsec lexer seem to be whitespace sensitive for ...

    Dec 30, 2024 · Why does my parsec lexer seem to be whitespace sensitive for integers only? Asked 1 year, 3 months ago Modified 1 year, 3 months ago Viewed 82 times

  10. haskell - How does `try` behave in Parsec? - Stack Overflow

    Apr 6, 2014 · How does `try` behave in Parsec? Asked 12 years ago Modified 10 years, 2 months ago Viewed 2k times