From: Gaspard Bucher <gaspard@teti.ch>
To: caml-list@yquem.inria.fr
Subject: ocaml for embedding
Date: Thu, 8 Jul 2010 23:02:01 +0200 [thread overview]
Message-ID: <AANLkTinJUmJ8p52MsQBnGU2xDuYwW3hIJDp8k9j-KSOY@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 997 bytes --]
Hi List !
I'm writing an open source signal processing tool (mainly used for art
projects). Basically objects are connected together through slots and send
values to each other. Currently, objects are either C++ classes or Lua
scripts that can be edited live (live coding), but the API is scripting
language agnostic. This means that with the proper bindings (basically an
"eval" method and a way to "call" inside the language), anything is
possible.
I think it would be a shame to not support at least one functional language
in rubyk and it would be quite fun to have an application with different
languages talking together, each one being used for what it does best. So my
questions are:
1. Is it possible to embed an ocaml compiler ? (something that eats
std::string and produces a callable thing)
2. How would an interface between C++ and a compiled script work ? (passing
values, getting return values)
Thanks for any thoughts,
Gaspard
--
PS: signal processing tool: http://rubyk.org
[-- Attachment #2: Type: text/html, Size: 1223 bytes --]
next reply other threads:[~2010-07-08 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-08 21:02 Gaspard Bucher [this message]
2010-07-09 7:06 ` [Caml-list] " David MENTRE
2010-07-09 10:29 ` Gaspard Bucher
2010-07-12 9:14 ` David MENTRE
2010-07-12 13:19 ` Gaspard Bucher
2010-07-20 0:36 ` Eray Ozkural
2010-07-20 15:02 ` Eray Ozkural
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=AANLkTinJUmJ8p52MsQBnGU2xDuYwW3hIJDp8k9j-KSOY@mail.gmail.com \
--to=gaspard@teti.ch \
--cc=caml-list@yquem.inria.fr \
/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