Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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?