uu-parsinglib-2.7.3.2: Fast, online, error-correcting, monadic, applicative, merging, permuting, idiomatic parser combinators.

Text.ParserCombinators.UU.CHANGELOG

Description

This module just contains the CHANGELOG

Version 2.7.3.2

made TypeOperators explicit as required by GHC 7.4

Version 2.7.3.1

fixed corner case when combining to failing parsers during grammar analysis; probably useful error message is now gone

Version 2.7.3

better behaviour when inserting at end of input

Version 2.7.2.2

fixed the case where the left hand operand of <|| starts with a monadic bind

Version 2.7.2.1

removed a left-over from debugging

Version 2.7.2

fixed a subtle bug in the merging parsers caused by name shielding ;-{{

Version 2.7.1.1

added pDoubleStr to the export list of the Utils module

Version 2.7.1

fixed a subtle black hole which prevented computation of lengths!! You should upgrade.

Version 2.7.0.2

  • Some types were reformulated to compile correctly with ghc 6.12.3

Version 2.7.0.1

  • Typos fixed in Haddock documentation

Version 2.7.0

Improvement: change of error correction at end of amb combinator, so lookahead is better taken into account

Relatively large change:

  • Change to Data.ListLike inputs, so a general stream input structure is possible; hence we can now parse all instances of ListLike
  • Simplified and generalised implementation of mergingpermuting parsers; any kind of parsers can now be mergedpermuted
  • New class IsParser was introduced which captures the basic properties of our parsers
  • Inclusion of a module Text.ParserCombinators.UU.Utils containing common Char based parsers
  • Removal of the class Provides, and replaced by separate pSym, pSatisfy and pRange; this may require some rwriting of existing parsers. Readbaility is supposed to improve from that. Types become simpler. For an example see the module Text.ParserCombinators.UU.Utils.
  • Included a Demo directory, with a modules for demonstrating normal parsers and one aimed at merging parsers
  • Added the module Text.ParserCombinaors.UU.Idioms, which contains specialised version for the idiomatic notation; it infers the sequental composition operators from the types of the operands; String-s and Char-s are not supposed to contribute to the result, function parameters are lifted using pure, and normal parsers are composed with <*>.
  • Many other small changes, mostly upwards compatible or invisible (code cleanup)

Version 2.6.1

  • Changed the input to a Stream interface to handle different kind of inputs like String, Data.Text and Data.ByteString.
  • To update old code to the new interface you should add
 import Text.ParserCombinators.UU.BasicInstances.String

in the file header and change

 listToStr inp (0,0)

to

 createStr inp

Version 2.5.6.1

  • replaced references to modules with references in the new library scheme

Version 2.5.6

  • added a special version of <|> (called <-|->) in ExtAlternative which does not compare the length of the parsers; to be used in permutations

Version 2.5.5.2

  • type signatures were added to make Haddock happy

Version 2.5.5.1

  • type signatures were added to make the library GHC 7 ready.

Version 2.5.5

  • preference is given to earlier accept steps in order to avoid infinite insertions in case of otherwise equivalent repair strategies

Version 2.5.4.2

  • fixed small problem in ? so it gets its chance to do its work

Version 2.5.4.1

  • added a pSem which makes it possible to tell how certain components of merged structures are to be combined before exposing all elements to the outer sem:
  run ( (,)  `pMerge` ( ((++) `pSem` (pMany pa <||> pMany pb)) <||> pOne pc))  "abcaaab"

  Result: (["a","a","a","a","b","b"],"c")
  • added a pMergedSep, which allows you to specify a separator between two merged elements
  run ((((,), pc) `pMergeSep` (pMany pa <||> pMany pb))) "acbcacbc"

 Result: (["a","a","a"],["b","b"])
 Correcting steps: 
    Inserted 'a' at position (0,8) expecting one of ['b', 'a']

Version 2.5.4

  • made the merging combinators more general introducing pAtMost, pBetween and pAtLeast; examples are extended; see demo_merge
  • used CPP in order to generate demo's easily
  • fixed a bug which made pPos ambiguous
  • modified haddock stuff

Version 2.5.3

  • fixed a bug in the implementation; some functions were too strict, due to introduction of nice abstractions!!
  • added a generalisation of pMerged and pPerms to the module Text.ParserCombinators.UU.Derived; the old modules have been marked as deprecated
  • removed the old module Text.ParserCombinators.UU.Parsing, which was already marged as deprecated

Version 2.5.2

  • fixed a bug in sequential composition with a pure as left hand side
  • added an experimental pMerge, which combines the featurs of pPerms and pMerged

Version 2.5.1.1

  • Now with the correct Changelog

Version 2.5.1

  • added the permutation parsers from the old uulib
  • extended the abstract interpretation so more soundness checks can be done statically
  • everything seems to work; in case of problems please report and go back to 2.5.0

Version 2.5.0

  • generalised over the position in the input; now it is easy to maintain e.g. (line,column) info as shown in the Examples.hs file
  • added needed instances for String s as input in BasicInstances.hs
  • fixed a bug in pMunch where a Step was inserted with 0 progress, leading to infinite insertions
  • added Haddock beautifications

Version 2.4.5

  • added the function pPos for retreiving the current input position

Version 2.4.4

  • solved a mistake which had crept in in the greedy choice
  • added priority for <<|> which had disappeared
  • added an example how to achieve the effect of manytill from parsec

Version 2.4.3

  • removed the classes IsParser and Symbol, which made the code shorter and more H98-alike last version with dynamic error message computation

Version 2.4.2

  • fixed dependency in cabal file to base >=4.2
  • moved definition of <$ to the class Functor and removed the class ExtApplicative

Version 2.4.1

  • added the module Text.ParserCombinators.Merge for recognizing alternating sequences
  • made P st an instance of MonadPlus
  • beautified Haddock documentation

Version 2.4.0

  • contains abstract interpretation for minimal lenth, in order to avoid recursive correction process
  • idem for checking that no repeating combinators like pList are parameterised with possibly empty parsers
  • lots of Haddcock doumentation in Text.ParserCombinators.UU.Examples

Version 2.3.4

  • removed dependecies on impredictaive types, preparing for next GHC version

Version 2.3.3

  • added pMunch which takes a Boolean function, and recognises the longest prefix for which the symbols match the predicate
  • added the infix operator with piority 2 <?> :: P state a -> String -> P state a which replaces the list of expected symbols in error message by its right argument String

Version 2.3.2

  • added microsteps, which can be used to disambiguate

Version 2.3.1

  • fix for GHC 6.12, because of change in GADT definition handling

Versions above 2.2:

  • make use of type families
  • contain a module with many list-based derived combinators

Versions above 2.1: * based on Control.Applicative

Note that the basic parser interface will probably not change much when we add more features, but the calling conventions of the outer parser and the class structure upon which the parametrisation is based may change slightly