Commit Graph

748 Commits

Author SHA1 Message Date
Vladislav Zavialov
b804acdf85 Add 'withParsecT' and 'mapParseError' (#303) 2018-07-05 11:00:17 +07:00
mrkkrp
7b989cac02
Allow ‘criterion-1.5’ 2018-07-03 12:07:53 +07:00
Gaith Hallak
f3e26a4223
Add ‘binDigitChar’ and ‘binary’ 2018-06-23 15:40:35 +07:00
mrkkrp
f34aeb92a7
Test with GHC 8.4.3 2018-06-02 19:57:24 +07:00
Simon Shine
a01f655bbb Fixed typo (staring -> 'String') (#300) 2018-05-29 16:53:40 +07:00
mrkkrp
2944d4f2c5
Inline ‘decimal_’
Turns out not doing this is a major performance problem.
2018-05-19 21:25:23 +07:00
mrkkrp
d11bd696d6
Add changelog entry for the ‘charLiteral’ fix and a new test
It appears that 9 is quite enough here.
2018-05-18 23:05:12 +07:00
Timo von Holtz
0174a5513f Fix charLiteral for long character escape sequences (#297) 2018-05-18 22:03:15 +07:00
Mark Karpov
90966cb379
Implement continuous highlighting in parse errors (#296) 2018-05-09 18:37:28 +07:00
mrkkrp
1a459aa1b8
Simplify ‘Text.Megaparsec.Byte.Lexer.signed’ 2018-05-01 14:57:40 +07:00
mrkkrp
17bb876012
Clean up the signature of ‘Text.Megaparsec.Byte.Lexer.decimal’ 2018-05-01 14:50:01 +07:00
mrkkrp
3d4c22a71c
Inline more 2018-05-01 14:23:52 +07:00
mrkkrp
bde671f068
A whim 2018-05-01 14:20:41 +07:00
mrkkrp
458cc33481
Import ‘parser-combinators’ modules directly in tests 2018-05-01 11:55:24 +07:00
mrkkrp
a2175ea6db
Apply hlint recommendations 2018-04-30 21:32:58 +07:00
Mark Karpov
517fbca634
Drop ‘Text.Megaparsec.Expr’ (#294) 2018-04-28 18:48:17 +07:00
Mark Karpov
8f21659822
Drop ‘Text.Megaparsec.Perm’ (#292)
In favor of ‘Control.Applicative.Premutations’, and so we add tests for that
module.
2018-04-27 17:13:27 +07:00
mrkkrp
f49b9b479b
Fix docs of ‘Text.Megaparsec.Debug’
[skip ci]
2018-04-25 21:45:01 +07:00
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