English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
rfc822 / date parser, ocamllex
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-07-29 (06:50)
From: Patrick M Doane <patrick@w...>
Subject: Re: rfc822 / date parser, ocamllex
Hi Julian,

I've started work on a library to implement internet protocols. One of the
modules has a lexer for mail headers as well as parsers for addresses and

The address parser supports all of rfc822 and also includes updates that
have been in later documents.

Also included are modules which implement client-side POP3 and SMTP. You
can get this from:



On 28 Jul 2000, Julian Assange wrote:

> Does anyone know of an O'caml rfc822 address parser?
> `mmm', the O'caml web-browser has a simple date lexer, although its
> not rfc822 compliant.
> The ocamllex documentation doesn't mention any method of specifying
> start conditions. While I can see several different way of gaining
> this functionality using sub-lexers and grouping, is this the most
> elegant approach?
> Cheers,
> Julian.