Version française
Home     About     Download     Resources     Contact us    
Browse thread
Calling OCaml from Ruby
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] Calling OCaml from Ruby
On 3/28/07, Joel Reymont <joelr1@gmail.com> wrote:
> The use is straightforward. I need to call a translate function in
> OCaml and that should return either the translated code or an error
> with the error location.

IMHO since there is one function with simple arguments the C solution
will be better.

>
> On Mar 28, 2007, at 10:43 AM, Nicolas Pouillard wrote:
>
> > Using C to make the bridge seems good.
> >
> > You can also use some client/sever protocol using some serialization
> > data format like JSON.
> >
> > It mainly depends on the use of that OCaml code.
>

-- 
Nicolas Pouillard