summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Parsing/Smart.hs
AgeCommit message (Collapse)Author
2023-01-10Update copyright years, it's 2023!Albert Krewinkel
2022-10-29T.P.Parsing.General: change `characterReference`, `charsInBalanced`.John MacFarlane
`characterReference` now returns a Text (as it should, because some named references don't correspond to a single Char), and uses the `lookupEntity` function from commonmark-hs instead of the slow one from tagsoup. `charsInBalanced` now takes a Text parser rather than a Char parser as argument. [API change]
2022-10-16T.P.Parsing: Remove gratuitious renaming of Parsec types.John MacFarlane
We were exporting Parser, ParserT as synonyms of Parsec, ParsecT. There is no good reason for this and it can cause confusion. Also, when possible, we replace imports of Text.Parsec with T.P.Parsing. The idea is to make it easier, at some point, to switch to megaparsec or another parsing engine if we want to. T.P.Parsing new exports: Stream(..), updatePosString, SourceName, Parsec, ParsecT [API change]. Removed exports: Parser, ParserT [API change].
2022-03-25Rename T.P.Parsing.Combinators -> T.P.Parsing.General.John MacFarlane
Because many of the exported things aren't combinators... Also remove redundant explot of indentWith from T.P.Parsing.Lists.
2022-03-12Document more functions in T.P.Parsing and T.P.Shared.Albert Krewinkel
2022-03-11Parsing: partition module into (internal) submodules (#7962)Albert Krewinkel