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
mrkkrp
5aff6e3986
Mention ambiguous type variables and type signatures
...
Close #157 .
2016-12-26 13:45:31 +03:00
mrkkrp
7505174218
Minor improvements in the docs of ‘Text.Megaparsec.Lexer’ module
2016-12-11 13:23:01 +03:00
mrkkrp
4de9da0bbc
Fix a typo in the test suite
2016-11-25 18:09:37 +03:00
mrkkrp
86cca77cf5
Update docs for ‘charLiteral’ to mention ‘\&’
...
Close #154 .
2016-11-24 20:08:54 +03:00
Mark Karpov
dd2386aafc
Add ‘MonadParsec’ instance for ‘RWST’ ( #152 )
2016-11-21 19:18:27 +04:00
mrkkrp
38f5b36d46
A minor correction in the ‘README.md’ file
2016-10-12 12:33:01 +03:00
Erik de Castro Lopo
56b72c8a68
Remove un-needed unsafeCoerce ( #149 )
...
`Pos` is a newtype wrapper around `Word` and the `unsafePos` function
is marked `INLINE`, so `unsafeCoerce` is complete overkill.
2016-10-10 12:29:40 +04:00
mrkkrp
a0dad30be1
Allow ‘hspec-expectations-0.8.0’
2016-10-09 15:51:06 +03:00
mrkkrp
fdc4f8071f
Version bump (5.1.2), update ‘CHANGELOG.md’
2016-10-06 22:46:30 +03:00
mrkkrp
e6c5c2beed
Fix building with QuickCheck older than 2.9.0
2016-10-06 22:37:40 +03:00
mrkkrp
0367967161
Avoid flood of debugging info on testing
2016-10-06 22:30:28 +03:00
mrkkrp
f0a0c70a35
Version bump (5.1.1)
2016-10-04 10:07:10 +03:00
mrkkrp
d1649b63ad
Export ‘observing’ from ‘Text.Megaparsec’
2016-10-04 10:07:06 +03:00
mrkkrp
70e1de679f
Mention the ‘observing’ primitive in ‘README.md’
2016-10-03 12:45:03 +03:00
mrkkrp
1539b713e3
Version bump (5.1.0)
2016-10-03 12:37:38 +03:00
mrkkrp
dcf484889d
Increase coverage
2016-10-03 12:37:30 +03:00
Mark Karpov
5a1ebb1375
Merge pull request #146 from mrkkrp/add-observing-primitive
...
Add the ‘observing’ primitive
2016-10-03 11:30:49 +04:00
mrkkrp
3a147e6cde
Add tests for the new ‘observing’ primitive
2016-10-02 19:38:50 +03:00
mrkkrp
97257f3c7f
Add the ‘observing’ primitive
...
Close #145 .
2016-10-02 19:38:50 +03:00
mrkkrp
de4338ed2c
Mention the new ‘dbg’ function in ‘CHANGELOG.md’
2016-10-02 19:36:34 +03:00
Mark Karpov
55b7c8c61b
Merge pull request #144 from mrkkrp/add-debugging-primitive
...
Add debugging primitive
2016-09-30 19:09:48 +04:00
mrkkrp
4e3a36ef93
Add tests for the new ‘dbg’ function
2016-09-30 13:35:02 +03:00
mrkkrp
01f828e5dd
Add debugging primitive ‘dbg’
2016-09-30 13:34:58 +03:00
mrkkrp
b335c0f78a
Use ‘lts-7.1’ resolver
2016-09-27 12:17:38 +03:00
mrkkrp
9fd109d0e8
Improve coverage of some primitives
2016-09-27 11:42:13 +03:00
mrkkrp
4bc14d6668
Improve descriptions of backtracking primitives
...
Close #143 .
2016-09-27 10:03:43 +03:00
mrkkrp
6772b88e93
Make ‘try’ truly backtrack parser state
...
Close #142 .
This seemingly has no effect on performance.
2016-09-27 09:41:23 +03:00
mrkkrp
dfbc6f0893
Minor corrections in test suite, improve coverage
2016-09-27 00:23:17 +03:00