Releases: egison/egison-pattern-src
Version 0.2.1.2
Merge pull request #27 from egison/new-release version 0.2.1.2
v0.2.1.1
Just relaxed version numbers of dependent packages.
v0.2.1.0
Small update to correct parsing around value/variable patterns.
egison-pattern-src 
- 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 
- Fix use of external parsers to delimit input with
,,), or](change inegison-pattern-src) - Enable to parse value expression in the form of
#[1, 2, 3]without parentheses (change inegison-pattern-src)- Now you can pass list literal directly to value patterns
egison-pattern-src-th-mode 
- Fix use of external parsers to delimit input with
,,), or](change inegison-pattern-src) - Enable to parse value expression in the form of
#[1, 2, 3]without parentheses (change inegison-pattern-src)- Now you can pass list literal directly to value patterns
v0.2.0.0
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 
Breaking changes:
- Add a tuple pattern #12
- Add a collection pattern #17
UnexpectedEndOfFileerror variant is added for greedy parsers (change in #19)- The name of parsing file is passed in
ParseMode, not in the argument ofparseExpr(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
Parsableclass
- Variants of parsers are provided via
- not patterns are now parsed as atom patterns (change in #18)
Sourcetype constraint is now just a type class providing few additional methods toStream(change in #19)
egison-pattern-src-haskell-mode 
Breaking changes:
- Add
ParseModerecord to pass parser configurations (change in #19) - Provide several variants of parsers (location annotation/non-greedy) by adding
Parsableinstance (change in #19) - Use canonical way to print infix operators #20
- Some changes in
egison-pattern-srcare inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.
egison-pattern-src-th-mode 
Breaking changes:
- Add
ParseModerecord 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
Parsableinstance (change in #19) - Some changes in
egison-pattern-srcare inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.
v0.1.1.0
Small update to add parser functions that can handle complex fixity configutations.
egison-pattern-src 
Nothing changed (updated as other two adaptor packages)
egison-pattern-src-haskell-mode 
- Correct some documentations
- Add
parseExprWithParseFixitiesto configure parsers flexibly (e.g. parse as++, but interpret it asjoin)
egison-pattern-src-th-mode 
- Add
parseExprWithParseFixitiesto configure parsers flexibly (e.g. parse as++, but interpret it asjoin)
v0.1.0.0
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 
- Initial Release
egison-pattern-src-haskell-mode 
- Initial Release
egison-pattern-src-th-mode 
- Initial Release