Commit Graph

626 Commits

Author SHA1 Message Date
Mark Karpov
3ec48d12b9 Reorganize modules (#217) 2017-06-15 02:12:18 +07:00
Mark Karpov
d35cdd2e33 Drop per-stream type modules (#215) 2017-06-13 23:14:31 +07:00
mrkkrp
5a8d8f181a Update location of the tutorials 2017-06-08 17:33:14 +07:00
mrkkrp
d3ce5efa3f Update the links to point to my new web site
[skip ci]
2017-06-06 17:05:44 +07:00
mrkkrp
367bf03049 Allow ‘criterion-1.2’ 2017-05-26 22:30:25 +07:00
mrkkrp
ce7228346a Improve the documentation 2017-05-25 19:52:34 +07:00
mrkkrp
b5887b59d7 Refresh ‘Test.Hspec.Megaparsec’ 2017-05-25 16:01:26 +07:00
mrkkrp
2fb6896e3a Track max residency in weigh benchmark 2017-05-25 14:18:35 +07:00
Mark Karpov
ad2721912e Test with GHC 8.2.1 (#210) 2017-05-24 23:44:40 +07:00
mrkkrp
e04782f3d4 Use the ‘lts-8.15’ resolver
[skip ci]
2017-05-24 19:30:28 +07:00
mrkkrp
e651e689c3 Update my email address
[skip ci]
2017-05-24 19:30:10 +07:00
mrkkrp
499d062a4f Remove redundant repetition of license text
[skip ci]
2017-05-24 19:27:31 +07:00
mrkkrp
c26ebd49c3 Drop the ‘megaparsec.ebal’ file 2017-05-19 18:38:54 +07:00
mrkkrp
298e01fb80 Version bump (5.3.0)
[skip ci]
2017-04-30 00:20:00 +03:00
Mark Karpov
9453b9eda4 Define ‘Semigroup’ and ‘Monoid’ for ‘ParsecT’ (#203) 2017-04-29 23:34:18 +03:00
mrkkrp
16a3e7fa5e Drop version boundary for internal library
This version range has no semantic meaning.
2017-04-29 16:47:33 +03:00
mrkkrp
62dcac2984 Add ‘tested-with’ Cabal metadata 2017-04-29 16:47:31 +03:00
Mark Karpov
15b645f08e Add ‘getNextTokenPosition’ (#202) 2017-04-29 16:40:04 +03:00
mrkkrp
e87c1e770e Change “rest of” to “the rest of” 2017-04-10 19:59:51 +03:00
mrkkrp
deb7dceed6 A minor tweak to the ‘README.md’ file
[skip ci]
2017-04-08 17:46:18 +03:00
mrkkrp
95f99774dc Various minor corrections to the docs 2017-04-02 21:52:04 +03:00
mrkkrp
4adc827a00 Add Vladislav Zavialov to the list of contributors 2017-03-05 16:22:19 +03:00
Vladislav Zavialov
ae19a87cbf Make () an error component (#193) 2017-03-05 17:06:47 +04:00
mrkkrp
936635c8dc Enable caching on Travis 2017-03-05 14:09:57 +03:00
Mark Karpov
8ed11716e7 Add the ‘region’ combinator (#192)
Close #187.
2017-03-03 03:45:38 +04:00
mrkkrp
aa326f0294 Don't test with GHC and Cabal HEAD on Travis 2017-03-02 23:17:41 +03:00
mrkkrp
44b6b960a0 Clarify the result of ‘updatePos’
Close #189.
2017-02-26 14:42:17 +03:00
mrkkrp
7d5897c735 Fix a couple of typos 2017-02-16 22:16:25 +03:00
mrkkrp
9370563c94 Extend/improve comparisons in the ‘README.md’ 2017-02-16 19:29:56 +03:00
mrkkrp
f021a86a1f Clarify the example in docs for ‘try’
Close #186.
2017-02-16 17:55:31 +03:00
mrkkrp
e08851a99b Mention dropping support for GHC 7.6 in the changelog 2017-02-07 17:52:52 +03:00
Mark Karpov
e809c56b45 Implement the ‘match’ combinator (#184) 2017-02-06 22:31:10 +04:00
Mark Karpov
8f43fdc3f6 Drop support for GHC 7.6 (#166) 2017-02-01 22:01:18 +04:00
mrkkrp
cd3828ff1a Version bump (5.2.0)
[skip ci]
2017-02-01 19:54:57 +03:00
mrkkrp
688d1453ed Exclude ‘tests’ dir from coverage reports 2017-02-01 19:08:47 +03:00
Mark Karpov
cb978200d5 Fix subtle ‘indentBlock’ bugs, add new tests (#182) 2017-02-01 20:03:02 +04:00
mrkkrp
2c4ac2af3c Update the Travis script (new benchmark directories) 2017-01-31 22:23:35 +03:00
Mark Karpov
b307ba2342 Implement counting of processed tokens (#180) 2017-01-31 15:17:54 +04:00
Mark Karpov
63dcf13c09 Performance tweaks (#179)
* Use default implementation of ‘many’
* Improve ‘count’ and ‘count'’
* Update the ‘CHANGELOG.md’ file
2017-01-29 19:39:21 +04:00
mrkkrp
5300e80c1c Mention benchmark improvements in the ‘CHANGELOG.md’ file 2017-01-29 02:32:32 +03:00
Mark Karpov
1f58aa939f Use a different set of benchmarks (#177) 2017-01-29 03:30:16 +04:00
mrkkrp
e63ac94df0 Test with GHC 8.0.2 2017-01-26 13:16:54 +03:00
mrkkrp
27c4141e09 Add links to announcements to the ‘README.md’ file 2017-01-16 17:31:14 +03:00
mrkkrp
54fd7614ff Mention how to edit tutorials
Close #169.
2017-01-12 18:06:02 +03:00
mrkkrp
21ef36522f Use ‘lts-7.14’ 2017-01-01 14:39:16 +03:00
mrkkrp
9459c8038b Include 2017 into copyright years range 2017-01-01 14:38:59 +03:00
mrkkrp
8bfe33eaca Add Tomáš Janoušek to the list of contributors 2016-12-28 01:22:07 +03:00
mrkkrp
970a9ecc96 Update ‘CHANGELOG.md’ to mention #161 2016-12-28 01:19:20 +03:00
Tomáš Janoušek
4147b2b103 Make indentBlock/IndentNone work with many like IndentMany/Some does (#161)
Even though the haddock for ‘Text.Megaparsec.Lexer.space’ says that

    Parsing of white space is an important part of any parser. We
    propose a convention where every lexeme parser assumes no spaces
    before the lexeme and consumes all spaces after the lexeme;

all the indentation-sensitive parsing combinators assume/consume whitespace
_before_ the thing to be parsed. This would normally mean they can't be used
with combinators like ‘many’ and ‘some’ without using ‘try’ (and sacrificing
performance). Fortunately ‘indentBlock’ also consumes whitespace _after_,
but unfortunately it didn't do that in the ‘IndentNone’ case. Now it does
and it works with many and some without try!
2016-12-28 02:12:57 +04:00
Mark Karpov
08d1ae8e61 Allow ‘many’ run parsers that do not consume input (#160) 2016-12-26 16:49:48 +04:00