Commit Graph

226 Commits

Author SHA1 Message Date
Antoine Latter
6374db5979 Travis-CI: We don't need 'sudo' access 2015-03-19 10:50:38 -04:00
Antoine Latter
024a207ea7 Add TODO comment to travis CI confgi 2015-03-19 10:38:42 -04:00
Antoine Latter
64b3f1369a Create travis-CI config file
This is pretty bare-bones, but hopefully enough to get started.
2015-03-19 10:33:17 -04:00
Antoine Latter
03242e474c Export 'runP' from Text.Parsec
Fixes #27.
2015-03-19 10:30:21 -04:00
Antoine Latter
fbf9840faf Merge pull request #26 from joelwilliamson/patch-1
Fixed type of argument to char in examples
2015-03-07 14:54:22 -06:00
Joel Williamson
6382eeec38 Fixed type of argument to char in examples
The examples for identStart and identLetter were calling `char "_"`. char should take a character literal, not a string.
2015-03-07 13:16:49 -05:00
Antoine Latter
b5a5c73afb Merge pull request #23 from talw/master
Fixed a mistake (Applicative to Alternative) in the parserZero comments
2015-01-24 08:03:25 -06:00
Tal Walter
2b74642d7d Fixed a mistake (Applicative to Alternative) in the parserZero comments 2015-01-24 09:07:01 +02:00
Antoine Latter
87f0293627 Merge pull request #20 from cdepillabout/patch-1
Fixing spelling mistake in doc for chain function
2015-01-10 10:52:59 -06:00
cdepillabout
640cbdd306 Fixing spelling mistake in doc for chain function
Fix a small spelling mistake in the haskell doc for chainr1, chainl1, chainr, and chainl.
2015-01-11 01:32:00 +09:00
Antoine Latter
fad9ea6ffd Merge branch '3.1.7_maint' 2015-01-09 20:45:16 -06:00
Antoine Latter
37d34b23eb Merge branch 'master' into 3.1.7_maint
Conflicts:
	parsec.cabal
2015-01-09 20:44:02 -06:00
Antoine Latter
e6133b8759 Update version and changelog for 3.1.8 release. 2015-01-09 20:36:09 -06:00
Antoine Latter
355d8f2fc6 Fix module exports for Stream, Consumed, Reply, and State. 2015-01-09 20:33:05 -06:00
Antoine Latter
0afc1273c6 Merge pull request #14 from jcpetruzza/Eq-ParseError
Add an Eq instance for ParseError
2014-12-13 14:44:02 -06:00
Daniel Gorin
3fb40aaa68 Add an Eq instance for ParseError 2014-11-03 16:30:21 +00:00
Antoine Latter
e44e3ceee8 Merge pull request #13 from slava-sh/master
Fix a typo
2014-10-29 13:26:31 -05:00
Slava Shklyaev
22ee53e06d Fix a typo 2014-10-29 19:36:12 +02:00
Antoine Latter
80627973b2 Merge pull request #12 from esg/master
Spelling fix. ('seperate' -> 'separate').
2014-10-29 12:13:35 -05:00
Emil Skoeldberg
ed944b4a96 Spelling fix. ('seperate' -> 'separate'). 2014-10-29 11:21:46 +00:00
Antoine Latter
c84822310c Merge pull request #11 from cies/master
Created a README and have the homepage point to that.
2014-10-17 14:59:10 -05:00
Cies Breijs
12c4e6b234 Changed the homepage to the Github page.
And some small textual changes.
2014-10-16 18:22:38 +02:00
Cies Breijs
f4934c60c8 Changed prologue into a README in markdown format. 2014-10-16 18:21:52 +02:00
Antoine Latter
f7c5410db8 Update changelog. 2014-09-24 20:49:46 -05:00
Antoine Latter
c10f076852 Tests are now -Wall clean. 2014-09-24 20:47:18 -05:00
Marios Titas
f7faa2a1af lookAhead: reset error messages on success 2014-09-24 20:33:15 -05:00
Antoine Latter
c92f105736 Add test for #6. 2014-09-24 20:24:45 -05:00
Antoine Latter
f4601acddf Revert "Track current position in the 'tokens' function"
This reverts commit 860764939c.

This fixes #9.
2014-09-24 19:43:08 -05:00
Antoine Latter
b3a59d508e Post-release version bump 2014-09-24 19:28:13 -05:00
Antoine Latter
35b78b130b Add test for #9.
Also move test for #2 to have a more regular structure for tests aimed at
specific bugs.
2014-09-24 19:22:35 -05:00
Antoine Latter
c4778ac041 Update changelog. 2014-09-09 20:20:13 -05:00
Antoine Latter
fd8ecf5d03 Fix off-by-one error in Token charControl.
Fixes #2.
2014-09-09 20:17:49 -05:00
Antoine Latter
3276ef770c Update git ignore file. 2014-09-09 20:15:21 -05:00
Antoine Latter
e6ab087e11 Merge pull request #3 from Daniel-Diaz/master
Support for CRLF line breaks
2014-09-09 19:42:49 -05:00
Antoine Latter
564e731954 Merge pull request #4 from RyanGlScott/master
Bump text upper version bounds
2014-09-09 19:30:33 -05:00
RyanGlScott
c3e29252d4 Bump text upper version bounds 2014-09-09 00:08:41 -05:00
Antoine Latter
c5ad35149f Remove reference to darcs in package description. 2014-07-22 20:58:55 -05:00
Daniel Díaz
d98a576f5a Renamed 'anyNewline' to 'endOfLine' as suggested in #3 by @aslatter. 2014-05-19 13:48:37 +02:00
Daniel Díaz
9d962cc8fa Added parser for CRLF line breaks and a parser combining LF and CRLF line breaks. 2014-05-12 19:09:26 +02:00
Antoine Latter
0860144eff No more orphan 'Stream' instances.
The ByteString and Text instances for Stream now live in the
Prim module.
2014-04-09 15:01:24 -04:00
Antoine Latter
1dc1bec81b Add git ignore file, remove darcs boring file 2014-04-09 14:59:20 -04:00
Roman Cheplyaka
860764939c Track current position in the 'tokens' function
Example

Before:

  Prelude Text.Parsec> parseTest (string "abcd") "abbe"
  parse error at (line 1, column 1):
  unexpected "b"
  expecting "abcd"

After:

  *Main> parseTest (string "abcd") "abbe"
  parse error at (line 1, column 3):
  unexpected "b"
  expecting "cd"

Before this patch, 'b' was reported to be found at 1:1, which is clearly not the
case. After this patch, we correctly report the location of the wrong token, and
also report missing tokens starting from that position.
2014-04-04 01:28:21 +03:00
Antoine Latter
ec1627b158 Merge pull request #1 from creswick/master
moved Stream instance for lists (Text.Parsec.String to Text.Parsec.Prim)
2014-03-27 23:08:05 -05:00
Rogan Creswick
ec7d750987 moved Stream instance for lists from Text.Parsec.String into Text.Parsec.Prim and removed -fno-warn-orphans from String.hs pragma 2014-03-24 07:53:21 -07:00
Antoine Latter
b08ea2c40d Module 'prim' is now 'not home' for haddock links. 2014-03-23 20:08:26 -05:00
Antoine Latter
391b8dc1ab Update changelog. 2014-03-23 20:08:12 -05:00
Antoine Latter
c3ff212653 Explicitly export symbols from 'Combinator' and 'Prim' from the main
module.
2014-03-23 20:07:39 -05:00
Antoine Latter
595f274140 Export 'text' instances from 'Text.Parsec'. 2014-03-23 20:07:14 -05:00
Antoine Latter
dac01599dd Fix some haddocks. 2014-03-23 20:06:48 -05:00
Antoine Latter
296b3f6bf8 Add 'bug-reports' section to package description. 2014-03-23 20:06:15 -05:00