Skip to content

Releases: egison/egison-pattern-src

Version 0.2.1.2

03 Nov 05:44
60aeca2

Choose a tag to compare

Merge pull request #27 from egison/new-release

version 0.2.1.2

v0.2.1.1

04 Aug 14:29

Choose a tag to compare

Just relaxed version numbers of dependent packages.

v0.2.1.0

04 Mar 07:34

Choose a tag to compare

release
Small update to correct parsing around value/variable patterns.

egison-pattern-src Hackage

  • Fix use of external parsers to delimit input with ,, ), or ]
  • Enable to parse value expression in the form of #[1, 2, 3] without parentheses

egison-pattern-src-haskell-mode Hackage

  • Fix use of external parsers to delimit input with ,, ), or ] (change in egison-pattern-src)
  • Enable to parse value expression in the form of #[1, 2, 3] without parentheses (change in egison-pattern-src)
    • Now you can pass list literal directly to value patterns

egison-pattern-src-th-mode Hackage

  • Fix use of external parsers to delimit input with ,, ), or ] (change in egison-pattern-src)
  • Enable to parse value expression in the form of #[1, 2, 3] without parentheses (change in egison-pattern-src)
    • Now you can pass list literal directly to value patterns

v0.2.0.0

03 Mar 14:15

Choose a tag to compare

release
Version 0.2.0.0 contains some breaking changes including syntactic fixes and API improvements.
Notably, we added Parsable class to expose several variants of parsers in every available mode.
The non-greedy parser is included in parsers provided in Parsable, that is especially needed when we want to parse match clauses in user side.

egison-pattern-src Hackage

Breaking changes:

  • Add a tuple pattern #12
  • Add a collection pattern #17
  • UnexpectedEndOfFile error variant is added for greedy parsers (change in #19)
  • The name of parsing file is passed in ParseMode, not in the argument of parseExpr (change in #19)
  • Fix syntax of constructor patterns #18
    • We do not require constructor patterns to be parenthaized

Non-breacking changes:

  • Add non-greedy parsers #19
    • Variants of parsers are provided via Parsable class
  • not patterns are now parsed as atom patterns (change in #18)
  • Source type constraint is now just a type class providing few additional methods to Stream (change in #19)

egison-pattern-src-haskell-mode Hackage

Breaking changes:

  • Add ParseMode record to pass parser configurations (change in #19)
  • Provide several variants of parsers (location annotation/non-greedy) by adding Parsable instance (change in #19)
  • Use canonical way to print infix operators #20
  • Some changes in egison-pattern-src are inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.

egison-pattern-src-th-mode Hackage

Breaking changes:

  • Add ParseMode record to pass parser configurations (change in #19)
  • Remove the dependency on egison-pattern-src-haskell-mode (change in #19)
  • Provide several variants of parsers (location annotation/non-greedy) by adding Parsable instance (change in #19)
  • Some changes in egison-pattern-src are inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.

v0.1.1.0

26 Feb 09:16

Choose a tag to compare

release
Small update to add parser functions that can handle complex fixity configutations.

egison-pattern-src Hackage

Nothing changed (updated as other two adaptor packages)

egison-pattern-src-haskell-mode Hackage

  • Correct some documentations
  • Add parseExprWithParseFixities to configure parsers flexibly (e.g. parse as ++, but interpret it as join)

egison-pattern-src-th-mode Hackage

  • Add parseExprWithParseFixities to configure parsers flexibly (e.g. parse as ++, but interpret it as join)

v0.1.0.0

25 Feb 05:28

Choose a tag to compare

release
This is an initial release of
egison-pattern-src, a set of packages to
manipulate Egison patterns embedded in various languages.

In this release, the following features are included:

  • Datatype describing abstract syntax tree of pattern expressions
  • Useful combinators to manipulate ASTs
  • Parser
  • Pretty printer

For the uses in Haskell source code, adaptors for haskell-src-exts and template-haskell are also released as egison-pattern-src-haskell-mode and egison-pattern-src-th-mode respectively.

egison-pattern-src Hackage

  • Initial Release

egison-pattern-src-haskell-mode Hackage

  • Initial Release

egison-pattern-src-th-mode Hackage

  • Initial Release