caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Calling OCaml from Ruby
Date: Wed, 28 Mar 2007 14:49:26 +0200	[thread overview]
Message-ID: <cd67f63a0703280549v6bb5b63cv4c91e7c86cad5715@mail.gmail.com> (raw)
In-Reply-To: <EA521413-D805-43A3-A6B2-49B8DE68A789@gmail.com>

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


      reply	other threads:[~2007-03-28 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 23:16 Joel Reymont
2007-03-28  9:43 ` [Caml-list] " Nicolas Pouillard
2007-03-28  9:46   ` Joel Reymont
2007-03-28 12:49     ` Nicolas Pouillard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd67f63a0703280549v6bb5b63cv4c91e7c86cad5715@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).