Commit Graph

550 Commits

Author SHA1 Message Date
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
mrkkrp
979e7d504a A minor update to ‘CHANGELOG.md’ 2016-09-25 21:38:50 +03:00
mrkkrp
4667c9ff46 Fix test coverage reporting 2016-09-25 21:23:57 +03:00
Mark Karpov
735776519c Merge pull request #138 from mrkkrp/migrate-to-hspec
Re-write the tests with Hspec and more
2016-09-25 22:07:52 +04:00
mrkkrp
bd07032795 Fix the build 2016-09-25 18:42:21 +03:00
mrkkrp
6da7f86350 Migrate the test suite to Hspec 2016-09-24 19:32:50 +03:00
mrkkrp
31785909ee Add a link to the text of original announcement 2016-09-18 21:20:37 +03:00
mrkkrp
dab99997f4 Add a notice about performance tutorial 2016-09-18 21:18:27 +03:00
mrkkrp
9305b26f39 Add ‘cassava-megaparsec’ to list of related libs 2016-09-18 19:13:40 +03:00
mrkkrp
be4478b840 Clarify behavior of ‘many’ and ‘some’
See #141.
2016-09-18 14:34:27 +03:00
mrkkrp
486d90c45c Use a newer resolver (‘lts-6.15’) 2016-09-04 16:49:35 +03:00
mrkkrp
e8174d4700 Add some ‘Arbitrary’ instances 2016-09-04 16:44:24 +03:00
mrkkrp
5478537cf7 Eliminate the ‘old-tests’ test suite 2016-09-04 16:33:40 +03:00
mrkkrp
badec4a9df Expose the ‘parseErrorTextPretty’ function
Close #137.
2016-09-04 14:48:40 +03:00
Albert Krewinkel
c234586435 Reflect renaming of alphaNum in docs (#136)
The `alphaNum` parser was renamed to `alphaNumChar`, yet the docs
weren't full updated to reflect this change.
2016-08-27 16:44:55 +04:00
mrkkrp
82994e45d4 Allow line comments end with end of input
Close #119.
2016-08-13 20:00:49 +03:00
mrkkrp
ee5f126c14 Use LTS 6.11 resolver 2016-08-13 19:46:20 +03:00
mrkkrp
c4e1259cb9 Add a couple of articles into the docs 2016-08-13 19:22:33 +03:00
mrkkrp
6a7c41d889 Don't allow very big values of ‘Pos’ in tests
This is unrealistic and leads to false failures.
2016-08-04 09:38:54 +03:00
mrkkrp
38dd2112e3 Mention how to deal with case described in #129
Close #130.
2016-08-01 22:00:36 +03:00
mrkkrp
33098be1ea Define ‘displayException’ for ‘ParseError’ 2016-07-29 21:27:52 +03:00
mrkkrp
7beca0c585 Fix the build with ‘QuickCheck-2.9’ and later 2016-07-24 13:06:52 +03:00
mrkkrp
7616d79f1d A cosmetic improvement in Cabal file 2016-07-24 11:06:24 +03:00
Mark Karpov
af2a967230 Merge pull request #128 from kseo/related-projects
Add tagsoup-megaparsec to the related packages
2016-07-12 23:21:18 +04:00
Kwang Yul Seo
9401cf56b9 Add tagsoup-megaparsec to the related packages 2016-07-13 01:21:12 +09:00
mrkkrp
30c302cf11 Version bump (5.0.1) 2016-07-11 21:36:33 +03:00
mrkkrp
033cbeb3fa Update the ‘CHANGELOG.md’ file 2016-07-11 21:36:14 +03:00
mrkkrp
2a98741aba Inline ‘initialPos’ 2016-07-11 21:35:57 +03:00
mrkkrp
efe14cfa5f Derive ‘Data’, ‘Typeable’, ‘NFData’, for ‘State’ 2016-07-11 21:35:24 +03:00
mrkkrp
e24a78093f Derive ‘NFData’ for all data types in the library
Close #124.
2016-07-11 17:03:30 +03:00
mrkkrp
11d10c7d85 Mention performance improvements in ‘CHANGELOG.md’ 2016-07-11 10:52:44 +03:00
Devon Hollowood
a803e3c68c Clarify error message for many parser
Close #122.
2016-07-09 13:25:59 +04:00
Mark Karpov
c7c61dfab8 Merge pull request #114 from mccain/grammar-mistake-lexer
Add missing "to" to documentation
2016-06-24 17:02:17 +04:00
Daniel S. McCain
62ee63918c Add missing "to" to documentation 2016-06-24 14:00:26 +02:00
mrkkrp
7d47a7b8f9 Derive more ‘Data’ and ‘Typeable’ instances
Close #112. Derive ‘Data’ instance for ‘ParseError’, ‘Data’ and
‘Typeable’ instances for ‘SourcePos’.
2016-06-23 22:52:29 +03:00
mrkkrp
7dc397d806 Update upper bounds, use ‘lts-6.2’ resolver 2016-06-10 16:16:48 +07:00
mrkkrp
b7cc20ec67 Drop GHC 7.10.1 and 7.10.2 from Travis CI
Just GHC 7.10.3 should be enough to test for this version.
2016-05-24 16:29:25 +07:00
mrkkrp
d5b8d7755c Rename section to make local hyperlink work 2016-05-15 00:08:18 +07:00
mrkkrp
2062354709 Various corrections in ‘README.md’ and docs 2016-05-14 16:59:18 +07:00
mrkkrp
3f445fc8fc Version bump (5.0.0) 2016-05-14 15:43:44 +07:00
mrkkrp
2df1953075 Highlight new features in the ‘README.md’ file 2016-05-12 11:06:03 +07:00
Mark Karpov
b2a3329723 Merge pull request #105 from mrkkrp/line-folds
Line folding
2016-05-11 14:24:32 +07:00
mrkkrp
46132a8048 Update the ‘CHANGELOG.md’ file (line folds) 2016-05-11 00:25:24 +07:00
mrkkrp
e39fd663ca Minor corrections and add test for ‘lineFold’ 2016-05-10 22:51:40 +07:00
mrkkrp
a74bcd1499 Add ‘checkCase’ (rename old one to ‘checkCase'’) 2016-05-10 22:51:23 +07:00
mrkkrp
2a07087766 Initial implementation of line folding
Close #87.
2016-05-10 22:50:22 +07:00
mrkkrp
34f1f95294 Fix a typo ‘ManyIndent’ → ‘IndentMany’ 2016-05-04 16:42:10 +07:00
mrkkrp
3af8d25407 Improve handling of custom streams
This improves position reporting/advancing for ‘eof’, ‘token’, and
‘tokens’ combinators. Previously it was slightly incorrect for streams
consisting of custom token as new tests demonstrated.
2016-05-04 01:24:02 +07:00
mrkkrp
dc63a8f893 Add tests to cover new API for position advancing
Close #102.
2016-05-04 00:53:09 +07:00