From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 6B7FCBC57 for ; Tue, 11 May 2010 09:07:07 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMCAE2e6EvAbSoIkWdsb2JhbACDF45KjEUVAQEBAQkLCgcRBB6pZZBmgSWDAWoE X-IronPort-AV: E=Sophos;i="4.53,206,1272837600"; d="scan'208";a="62662413" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 May 2010 09:07:07 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from siouxsie (e178012067.adsl.alicedsl.de [85.178.12.67]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id o4B775Vq001448 for ; Tue, 11 May 2010 09:07:05 +0200 Received: by siouxsie (Postfix, from userid 1000) id 57AEF1DC0; Tue, 11 May 2010 09:07:05 +0200 (CEST) Date: Tue, 11 May 2010 09:07:05 +0200 From: oliver@first.in-berlin.de To: caml-list@yquem.inria.fr Subject: Mbox-Readers Message-ID: <20100511070705.GA12375@first.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Spam: no; 0.00; in-berlin:01 ocamllex:01 pcre:01 ocamlnet:01 encodings:01 pcre:01 lgpl:01 wrote:01 oliver:01 oliver:01 parsing:01 strings:01 rewritten:02 match:02 library:03 Hello, are there mbox-Libraries around? If not: a while ago I wrote something that was meant as a library for reading mbox-files. But I have not worked on that code for a long time. I did just some matching with ocamllex to split the mails, and then worked on strings. The stuff needs to be rewritten, because I used Str-Lib, and would prefer Pcre, but maybe that also is not a good idea.... So... do I need UTF-8 parsing? Is there something in ocamlnet, what I should use? Are there encodings which I might also have to handle? And if so: which? And what library to use for it? I think even Pcre might not match my needs here? Ciao, Oliver P.S.: And: what kind of License would make sense? LGPL3?