Skip to content

Parsley 2.2.0

Compare
Choose a tag to compare
@j-mie6 j-mie6 released this 16 Jan 18:01
· 294 commits to master since this release
6ccf3e4

This release has laid the groundwork (and hopefully final!) for the Parsley 3.0.0 new-style API. Any and all of the old-style API has been deprecated strongly and will be removed in Parsley 3.0.0. A full description of these changes can be found here.

What's New

In addition to lift1 through lift3, lift4 through lift22 have been added to parsley.lift. To complement these, parsley.implicits contains some extension methods which allow the method .lift on any value or function (corresponding to pure or the liftN of the correct arity N).

The logic of the former ExpressionParser has been redesigned and can be found in parsley.expr

What's Deprecated

The following classes/combinators have been deprecated:

Classes

  • parsley.BitGen
  • All combinators in parsley.Char
  • parsley.CharSet
  • All combinators in parsley.Combinator
  • All functionality in parsley.ExpressionParser
  • parsley.Impl
  • All implicits in parsley.Implicits
  • parsley.LanguageDef
  • parsley.NotRequired
  • parsley.Parser
  • parsley.Predicate
  • parsley.Reg
  • All functionality in parsley.TokenParser

Combinators

  • parsley.Parsley.many
  • parsley.Parsley.skipMany
  • parsley.Parsley.lift1
  • parsley.Parsley.lift2
  • parsley.Parsley.lift3
  • parsley.Parsley.get
  • parsley.Parsley.put
  • parsley.Parsley.gets
  • parsley.Parsley.modify
  • parsley.Parsley.local
  • parsley.Parsley.rollback