- Add
satisfyMaybe
for matching tokens with a predicate that returns aMaybe
result
- Add a missing test module to the Cabal file
- Remove the previously deprecated operators
symbol
,namedSymbol
, andword
- Change
Prod
'sMonoid
andSemigroup
instances to lift their element instances instead of being the same as theAlternative
instance - Add unbalanced parentheses/EOF test
- GHC 8.4.1 support
- Update 'base' dependency bounds
- Add
Semigroup
instance to theProd
type
- Update 'base' dependency bounds
- Add the
Generator
module for generating grammar members - Change (simplify) the type returned by
parser
, introducing aParser
type synonym for it, and change the signature ofallParses
,fullParses
, andreport
to accept aParser
- The
Text.Earley.Internal
module is nowText.Earley.Parser.Internal
- Add missing modules to Cabal file
- Add
IsString Prod
instance - Change the signature of
Terminal
to take a functiona -> Maybe b
, and add a new operatorterminal
- Move
satisfy
to theDerived
module - Add the
token
,namedToken
, andlist
operators - Deprecate the
symbol
,namedSymbol
, andword
operators (use the above instead) - Add the
listLike
operator
- Fix bug concerning nullable rules (#14)
- Add
runGrammar
- Add changelog
- Remove
Args
, and useResults
instead - Make
parser
function not take input directly - Remove redundant type parameter to
Grammar
- Optimise handling of nullable non-terminals
- Pass a record of arguments in the parse routine
- Add support for consecutive mixfix holes