* OCaml extensible applications, run-time code generation
@ 2000-08-30 13:45 Adam Brown
0 siblings, 0 replies; only message in thread
From: Adam Brown @ 2000-08-30 13:45 UTC (permalink / raw)
To: caml-list
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
______________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-08-30 8:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-30 13:45 OCaml extensible applications, run-time code generation Adam Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox