Browse thread
Re: [Caml-list] Calling Ocaml from Python
- Max Powers
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 >into > > 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 :). -Max _________________________________________________________________ Personalise your phone with chart ringtones and polyphonics. Go to http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners