caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Mbox-Readers
@ 2010-05-11  7:07 oliver
  2010-05-11  8:01 ` Mbox-Readers Sylvain Le Gall
  0 siblings, 1 reply; 2+ messages in thread
From: oliver @ 2010-05-11  7:07 UTC (permalink / raw)
  To: caml-list

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mbox-Readers
  2010-05-11  7:07 Mbox-Readers oliver
@ 2010-05-11  8:01 ` Sylvain Le Gall
  0 siblings, 0 replies; 2+ messages in thread
From: Sylvain Le Gall @ 2010-05-11  8:01 UTC (permalink / raw)
  To: caml-list

On 11-05-2010, oliver@first.in-berlin.de <oliver@first.in-berlin.de> wrote:
> Hello,
>
> are there mbox-Libraries around?
>

You can have a look at:
https://forge.ocamlcore.org/scm/viewvc.php/trunk/mbox.ml?view=markup&revision=11&root=spamoracle

There are other files in the repository that can maybe match other
requirements.

This is not a complete mbox-reader but it can help you on some points
(at least to see what other people have done). You can use it as an
helper to write your own.

>
> P.S.: And: what kind of License would make sense? LGPL3?
>

In doubt, I recommend LGPL 2.1 with OCaml linking exception.

Regards,
Sylvain Le Gall


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-11  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-11  7:07 Mbox-Readers oliver
2010-05-11  8:01 ` Mbox-Readers Sylvain Le Gall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).