Commit Graph

730 Commits

Author SHA1 Message Date
mrkkrp
31b3fabd2a
Drop a redundant superclass of ‘MonadParsec’ 2018-04-22 00:28:20 +07:00
mrkkrp
b81b6f4385
Test with GHC 8.4.2 2018-04-21 19:22:09 +07:00
mrkkrp
7120bae9b2
Drop stacks of source positions 2018-04-20 19:24:05 +07:00
mrkkrp
cdbbe5c3d0
Move ‘dbg’ into a separate module 2018-04-20 14:20:43 +07:00
mrkkrp
2d175cd706
Drop support for GHC 7.8 2018-04-20 13:07:16 +07:00
mrkkrp
e1dac29576 Documentation improvements (internal module)
[skip ci]
2018-03-27 23:53:11 +07:00
mrkkrp
5edb5951a8 Fix a typo
[skip ci]
2018-03-27 23:47:15 +07:00
mrkkrp
c4950af41a Use ‘cabal-install-2.2’ on CI 2018-03-27 22:45:04 +07:00
mrkkrp
370f869d64 Add a note about monadic vs applicative combinators 2018-03-27 22:21:31 +07:00
Mark Karpov
e3ce90bd73 Add ‘Text.Megaparsec.Internal’ (#288) 2018-03-27 22:02:24 +07:00
Mark Karpov
fd7f214e54
Enable more warnings (#285) 2018-03-21 17:25:26 +07:00
Mark Karpov
663c9f1a96 Use new CI script, drop ‘stack.yaml’ from repo (#284) 2018-03-17 14:57:02 +07:00
mrkkrp
0842b6f011 Allow ‘QuickCheck-2.11’ 2018-03-16 01:39:15 +07:00
mrkkrp
a978b59f52 Drop redundant CPP 2018-03-14 22:58:27 +07:00
Mark Karpov
08b6cfcdba Test with GHC 8.4.1 (#281) 2018-03-11 17:51:38 +07:00
mrkkrp
09a4fb225f Allow ‘criterion-1.4’ 2018-03-08 00:00:09 +07:00
Mark Karpov
adce847803 Fix backtracking of exponent and fractional parts in numeric helpers (#279)
‘scientific’ now correctly backtracks after attempting to parse fractional
and exponent parts of a number. ‘float’ correctly backtracks after
attempting to parse optional exponent part (when it comes after fractional
part, otherwise it's obligatory).
2018-03-04 20:34:48 +07:00
mrkkrp
140fe93795 Allow ‘criterion-1.3.0.0’
[skip ci]
2018-01-12 13:26:06 +07:00
mrkkrp
4470f6ad14 Improve the readme
[skip ci]
2018-01-11 20:39:43 +07:00
mrkkrp
e1402f2189 Mention ‘mmark’ as a prominent project that uses Megaparsec
[skip ci]
2018-01-10 22:35:52 +07:00
Mark Karpov
4fac009b48
Move general-enough combinators to ‘Text.Megaparsec’ (#267) 2018-01-08 22:39:39 +07:00
mrkkrp
cb762351d0 Include 2018 into the copyright years range
[skip ci]
2018-01-01 14:04:07 +07:00
mrkkrp
1eec90ee89 Tame one more test suite failure 2017-12-31 16:59:35 +07:00
mrkkrp
966768acbe Promote ‘Control.Monad.Combinators.NonEmpty’ in the docs
[skip ci]
2017-12-31 16:05:56 +07:00
Mark Karpov
c776fc16fb Use parser combinators 0.4.0 (#269) 2017-12-31 16:02:03 +07:00
mrkkrp
103caaec8d Also update the description in the readme
[skip ci]
2017-12-31 00:34:05 +07:00
mrkkrp
d0dbc6077c Update the libray description in the Cabal file
[skip ci]
2017-12-30 23:56:13 +07:00
mrkkrp
cd70cb2347 Mention that Idris now uses Megaparsec
[skip ci]
2017-12-27 23:24:58 +07:00
mrkkrp
83443f68d6 Allow ‘parser-combinators-0.3’
[skip ci]
2017-12-26 21:28:02 +07:00
mrkkrp
b7fd455ec0 Simplify the definition of ‘signed’ 2017-12-22 22:56:35 +07:00
mrkkrp
509236dcee Use ‘lts-10.0’
[skip ci]
2017-12-19 20:19:13 +07:00
Mark Karpov
d3e29619cc
Simplify the type of the ‘token’ primitive (#266) 2017-12-17 22:03:03 +07:00
Mark Karpov
aee96cd519
Make ‘atEnd’ not produce hints (#264) 2017-12-17 13:03:56 +07:00
mrkkrp
44dfd40939 Version bump (6.3.0)
[skip ci]
2017-12-15 11:50:44 +07:00
mrkkrp
cd14be5db1 A minor correction in the changelog
[skip ci]
2017-12-15 11:49:55 +07:00
mrkkrp
c8bc4a6def Avoid a rare test suite failure 2017-12-14 20:47:54 +07:00
mrkkrp
f4ded98663 There will be no ‘megaparsec-6.2.1’
[skip ci]
2017-12-14 12:06:53 +07:00
mrkkrp
3c0d961a7d Add ‘since’ notes to some instance declarations 2017-12-14 12:06:20 +07:00
mrkkrp
9ef762fef8 Minor corrections and a test for the last PR 2017-12-14 11:35:36 +07:00
Vladislav Zavialov
58ab67759f Add the 'customFailure' combinator (#260) 2017-12-14 11:20:04 +07:00
Vladislav Zavialov
576c29aefd Add an IsString instance and tests for it (#259) 2017-12-13 22:14:22 +07:00
mrkkrp
b06b93a678 Add a couple of missing articles
[skip ci]
2017-12-10 16:54:32 +07:00
mrkkrp
a69f955f75 Adjust documentation for the ‘Hints’ type 2017-12-09 11:40:34 +07:00
mrkkrp
0754936634 Update the ‘tested-with’ metadata field 2017-11-24 17:22:02 +07:00
mrkkrp
96a3ed1fef Test with GHC 8.2.2 2017-11-24 16:18:45 +07:00
Nathan Collins
8dc71651cf Improve documentation of lexeme conventions
[skip ci]

Move the discussion of lexeme assumptions from the bottom of the already
very long documentation for ‘space’ to the top-level module documentation,
and bold the key convention that lexeme parsers assume no space before and
consume all space after the lexeme they parse.
2017-11-16 15:44:50 +07:00
Mark Karpov
b99174d7f1 Make ‘sconcat’ more efficient on ‘ParsecT’ (#253)
* Make ‘sconcat’ more efficient on ‘ParsecT’

* Do the same thing for ‘mconcat’
2017-10-15 16:26:28 +07:00
mrkkrp
f5dfb8a6ec Version bump (6.2.0)
[skip ci]
2017-09-23 21:45:40 +07:00
Mark Karpov
0918e235ae Merge pull request #251 from mrkkrp/make-float-consume-only-foating-point-literals 2017-09-23 21:44:40 +07:00
mrkkrp
b2ed07d327 Attempt to speed up the build… 2017-09-23 20:37:39 +07:00