Commit 14cccb3da70e9136adc1dd2c8ee7a6b9651056ae
- Diff rendering mode:
- inline
- side by side
.ghci
(0 / 1)
|   | |||
| 1 | :set -Wall |
.gitignore
(2 / 9)
|   | |||
| 1 | *.hi | ||
| 2 | *.o | ||
| 3 | /GNUmakefile | ||
| 4 | /Setup | ||
| 5 | /Setup.lhs | ||
| 6 | /_darcs | ||
| 1 | # ignore cabal build files | ||
| 2 | |||
| 7 | 3 | /dist | |
| 8 | /docs | ||
| 9 | /hsemail-*tar.gz | ||
| 10 | /index.html |
.todo
(0 / 21)
|   | |||
| 1 | <!-- Automagically generated by the ToDo program on Mon Oct 25 21:49:50 2004 --> | ||
| 2 | <todo version="0.1.17"> | ||
| 3 | <note priority="medium" time="1098583075" done="1098585176"> | ||
| 4 | The 'domain' parser is badly, badly wrong. | ||
| 5 | <comment> | ||
| 6 | fixed | ||
| 7 | </comment> | ||
| 8 | </note> | ||
| 9 | <note priority="high" time="1098733492"> | ||
| 10 | Define 'read' for SmtpReply. | ||
| 11 | </note> | ||
| 12 | <note priority="medium" time="1098325577" done="1098733788"> | ||
| 13 | Describe helpers and FSM. | ||
| 14 | <comment> | ||
| 15 | done | ||
| 16 | </comment> | ||
| 17 | </note> | ||
| 18 | <note priority="medium" time="1098585194"> | ||
| 19 | Add support for IPv6- and general-syntex literals. | ||
| 20 | </note> | ||
| 21 | </todo> |
README
(0 / 51)
|   | |||
| 1 | Parsers for the Internet Message Standard | ||
| 2 | ========================================= | ||
| 3 | |||
| 4 | :Latest Release: hsemail-1.3.tar.gz_ | ||
| 5 | :Darcs: darcs_ get --partial http://cryp.to/hsemail/ | ||
| 6 | |||
| 7 | Synopsis | ||
| 8 | -------- | ||
| 9 | |||
| 10 | This package contains Parsec_ combinators for the syntax of | ||
| 11 | Internet messages, such as e-mail, news articles, namely | ||
| 12 | RFC2234, RFC2821, and RFC2822. | ||
| 13 | |||
| 14 | The ``example`` directory contains two small programs that can | ||
| 15 | be run as follows:: | ||
| 16 | |||
| 17 | $ runhaskell message-test.hs <message-test.input | ||
| 18 | $ runhaskell smtp-test.hs <smtp-test.input | ||
| 19 | |||
| 20 | Documentation | ||
| 21 | ------------- | ||
| 22 | |||
| 23 | `Reference Documentation`_ | ||
| 24 | Haddock-generated reference of all exported functions. | ||
| 25 | |||
| 26 | See Also | ||
| 27 | -------- | ||
| 28 | |||
| 29 | `librfc2822`_ | ||
| 30 | An E-mail parser library for C++ programmers. | ||
| 31 | |||
| 32 | Copyleft | ||
| 33 | -------- | ||
| 34 | |||
| 35 | Copyright (c) 2008 Peter Simons <simons@cryp.to>. All rights | ||
| 36 | reserved. This software is released under `BSD-style license | ||
| 37 | <LICENSE>`_. | ||
| 38 | |||
| 39 | ----------------------------------------------------------------- | ||
| 40 | |||
| 41 | `[Homepage] <http://cryp.to/>`_ | ||
| 42 | |||
| 43 | .. _Parsec: http://www.cs.uu.nl/people/daan/parsec.html | ||
| 44 | |||
| 45 | .. _darcs: http://abridgegame.org/darcs/ | ||
| 46 | |||
| 47 | .. _hsemail-1.3.tar.gz: http://cryp.to/hsemail/hsemail-1.3.tar.gz | ||
| 48 | |||
| 49 | .. _Reference Documentation: docs/index.html | ||
| 50 | |||
| 51 | .. _librfc2822: http://cryp.to/librfc2822/ |
Setup.lhs
(8 / 0)
|   | |||
| 1 | #!/usr/bin/env runhaskell | ||
| 2 | |||
| 3 | > module Main (main) where | ||
| 4 | > | ||
| 5 | > import Distribution.Simple | ||
| 6 | > | ||
| 7 | > main :: IO () | ||
| 8 | > main = defaultMain |
hsemail.cabal
(35 / 24)
|   | |||
| 1 | Name: hsemail | ||
| 2 | Version: 1.3 | ||
| 3 | Author: Peter Simons <simons@cryp.to> | ||
| 4 | License: BSD3 | ||
| 5 | License-file: LICENSE | ||
| 6 | Maintainer: simons@cryp.to | ||
| 7 | Homepage: http://cryp.to/hsemail/ | ||
| 8 | Synopsis: Internet Message Parsers | ||
| 9 | Description: Parsers for the syntax defined in RFC2821 and 2822 | ||
| 10 | Category: Parsing | ||
| 11 | Build-Depends: base, mtl, parsec, old-time | ||
| 12 | Build-Type: Simple | ||
| 13 | GHC-Options: -Wall | ||
| 14 | Exposed-Modules: | ||
| 15 | Text.ParserCombinators.Parsec.Rfc2234, | ||
| 16 | Text.ParserCombinators.Parsec.Rfc2821, | ||
| 17 | Text.ParserCombinators.Parsec.Rfc2822 | ||
| 18 | Data-files: | ||
| 19 | README, | ||
| 20 | prologue.txt, | ||
| 21 | example/message-test.hs, | ||
| 22 | example/message-test.input, | ||
| 23 | example/smtp-test.hs, | ||
| 24 | example/smtp-test.input | ||
| 1 | Name: hsemail | ||
| 2 | Version: 1.4 | ||
| 3 | Copyright: (c) 2004-2010 Peter Simons | ||
| 4 | License: BSD3 | ||
| 5 | License-File: LICENSE | ||
| 6 | Author: Peter Simons <simons@cryp.to> | ||
| 7 | Maintainer: Peter Simons <simons@cryp.to> | ||
| 8 | Homepage: http://gitorious.org/hsemail | ||
| 9 | Category: Parsing | ||
| 10 | Synopsis: Internet Message Parsers | ||
| 11 | Description: Parsers for the syntax defined in RFC2821 and 2822 | ||
| 12 | Cabal-Version: >= 1.6 | ||
| 13 | Build-Type: Simple | ||
| 14 | Tested-With: GHC == 6.12.1 | ||
| 15 | |||
| 16 | Extra-Source-Files: example/message-test.hs | ||
| 17 | example/message-test.input | ||
| 18 | example/smtp-test.hs | ||
| 19 | example/smtp-test.input | ||
| 20 | |||
| 21 | Source-Repository this | ||
| 22 | Tag: v1.4 | ||
| 23 | Type: git | ||
| 24 | Location: git://gitorious.org/hsemail/mainline.git | ||
| 25 | |||
| 26 | Source-Repository head | ||
| 27 | Type: git | ||
| 28 | Location: git://gitorious.org/hsemail/mainline.git | ||
| 29 | |||
| 30 | Library | ||
| 31 | Build-Depends: base >= 3 && < 5, mtl, parsec, old-time | ||
| 32 | Exposed-Modules: Text.ParserCombinators.Parsec.Rfc2234 | ||
| 33 | Text.ParserCombinators.Parsec.Rfc2821 | ||
| 34 | Text.ParserCombinators.Parsec.Rfc2822 | ||
| 35 | Ghc-Options: -Wall |
prologue.txt
(0 / 3)
|   | |||
| 1 | This package provides a myriad parsers for Internet messages | ||
| 2 | as defined in RFC2234, RFC2821, and RFC2822. That would be | ||
| 3 | e-mail, mostly. |

