megaparsec icon indicating copy to clipboard operation
megaparsec copied to clipboard

Industrial-strength monadic parser combinator library

Results 23 megaparsec issues
Sort by recently updated
recently updated
newest added

As it is mentioned in [docs](https://hackage.haskell.org/package/megaparsec-9.2.2/docs/Text-Megaparsec-Debug.html#v:dbg) > it's not possible to lift this function into some monad transformers without introducing surprising behavior (e.g. unexpected state backtracking) or adding otherwise redundant...

feature-request

Hello, I'm trying to implement a error helper for unmatched delimiters, which will add the source location and quoted source from the suspected unmatched opening delimiter when the close delimiter...

question

I'd love to have `Text.Megaparsec` to export ```haskell -- | Advance by / ignore `n` input tokens drop :: MonadParsec e s m => Int -> m () drop n...

feature-request

There exists an instance ``` (Stream s, MonadState st m) => MonadState st (ParsecT e s m) ``` and `State` is more expressive than `Writer`, in the sense that any...

feature-request

Suppose we have the following parsers: ```hs pInd, pB :: Parsec Void String String pInd = indentGuard (hidden space) EQ (pos1 pos1) *> string "a" pB = string "b" *>...

question
feature-request

This may be an XY problem, but I'm having an issue with `sepEndBy` not being greedy enough, and is hiding errors. For context, I'm parsing a haskell-like language with the...

question

Megaparsec defines an instance: ```hs instance (a ~ Token s, IsString a, Eq a, Stream s, Ord e) => IsString (ParsecT e s m a) ``` Which allows for convenient...

Hi, I saw there is `Text.Megaparsec.Debug`. It has same problem as manual printf - it is expensive to add log statements, to keep them and remove, because it requires manual...

feature-request

I propose to add a special method in `MonadParsec`: ```hs -- | Adjust the next `ParseError`, if it occur __before any tokens will be__ -- __consumed__. This can be used...

feature-request

Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.2. Release notes Sourced from actions/cache's releases. v4.0.2 What's Changed Fix fail-on-cache-miss not working by @​cdce8p in actions/cache#1327 Full Changelog: https://github.com/actions/cache/compare/v4.0.1...v4.0.2 v4.0.1 What's Changed Update...

dependencies