egison-pattern-src-th-mode

Parser and pretty printer for Egison pattern expressions to use with TH

https://github.com/egison/egison-pattern-src#readme

Version on this page:0.2.1.1
LTS Haskell 18.28:0.2.1.2
Stackage Nightly 2021-06-14:0.2.1.2
Latest on Hackage:0.2.1.2

See all snapshots egison-pattern-src-th-mode appears in

BSD-3-Clause licensed by coord_e
Maintained by coord_e, Satoshi Egi
This version can be pinned in stack with:egison-pattern-src-th-mode-0.2.1.1@sha256:43b05d52f27ceff7be3314880da054dc3c7be3900dab68a780ee9ca4825b0010,2607

Module documentation for 0.2.1.1

Egison Pattern Source (Template Haskell Mode)

Actions Status Actions Status Hackage Hackage Deps

The egison-pattern-src-th-mode provides a parser and pretty printer for egison-pattern-src to use it with Template Haskell.

License

egison-pattern-src-th-mode is distributed as open source software under the terms of the 3 clause BSD License. See LICENSE for details.

Changes

0.2.1.0

  • 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

0.2.0.0

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.

0.1.1.0

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

0.1.0.0

  • Initial Release