From: Adam Brown <adam@freestream.com.au>
To: caml-list@inria.fr
Subject: OCaml extensible applications, run-time code generation
Date: Thu, 31 Aug 2000 00:45:47 +1100 [thread overview]
Message-ID: <39AD100B.BF730164@freestream.com.au> (raw)
Hi,
I'm not an OCaml user but we're examining the option of using OCaml to
allow the users to extend our application with new classes they write
themselves (all conforming to a common interface. The catch is that we
would like to be able to execute the user's new code line-by-line.
I read a post which talked about using the OCaml evaluator
Toploop.runscript. This would appear to provide us with an acceptable
solution.
Is this the case, and if so does the executed script run in the
application's environment, or can we access data structures in the
script's environment.
We are currently planning to write the application in C++ for
performance reasons (heavy floating point calculations and memory usage)
and we would be embedding the OCaml code.
thanks,
Adam
_____________________________________________________________
Adam Brown mailto:adam@freestream.com.au
Freestream - Engineering and scientific computing
17 Stanlake St Footscray http://www.freestream.com.au
3011, Melbourne, Phone: +61 3 9317 8471
Australia Fax: +61 3 9318 5069
______________________________________________________________
reply other threads:[~2000-08-30 8:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=39AD100B.BF730164@freestream.com.au \
--to=adam@freestream.com.au \
--cc=caml-list@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