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
Compiling pycaml shared library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-02-06 (10:36)
From: Vsevolod Fedorov <sevaAtWork@m...>
Subject: Re: [Caml-list] Compiling pycaml shared library

> I'm trying to figure out how to compile a simple shared library (.so)
> using pycaml that I can load from the python interpreter. I have a
> single .ml file who's contents are as follows:

I also had to to this task. So I wrote my own library, like py2caml (named
py2caml) - just
to write python extentions on ocaml (without C code).
Unlike pycaml, it can handle multi-threaded apps, safe for user errors in
python or caml code etc.

If you interested I can upload the library to sourceforge, and/or answer
your questions.