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
Re: [Caml-list] Calling Ocaml from Python
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Max Powers <max_powers280@h...>
Subject: Re: [Caml-list] Calling Ocaml from Python
On Thu, 2004-04-29 at 16:56, skaller wrote:
>On Thu, 2004-04-29 at 15:58, Max Powers wrote:
> > So as I see it I've got the following options:
> > 1) write the parser in ocaml. Wrap ocaml in C then wrap that using SWIG 
> > a python module.
> > 2) write the parser in C. Use SWIG to generate Ocaml and python modules.
> > 3) write the parser in python. Use Pycaml to call the python module from
> > Ocaml.
>Ocaml is well suited to parsing and analysing
>the parsed terms. If you head for (2) or (3) one needs
>to ask why bother using Ocaml at all?

Ah, that's 'cause I've got a huge application written (by others, I'm just 
the GUI bunny) in Ocaml. They're not real happy with the current parser 
(it's kind of crufty I believe), so would be happy to replace it, so long as 
the data is available in the Ocaml world. Parsing config files isn't the 
apps main job :).


Personalise your phone with chart ringtones and polyphonics. Go to

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: