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-28 (13:17)
From: Julian Assange <proff@i...>
Subject: rfc822 / date parser, ocamllex

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?