<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/9eafc8c29bd075f861777389ece4e829"
  from="EL CHAAR RABIH &lt;RABIH.EL-CHAAR@s...&gt;"
  author="EL CHAAR RABIH"
  date="2003-01-10T16:07:25"
  subject="[Caml-list] Trying to build a toplevel as a win32 dll"
  prev="2003/01/a5817ced25cbb70715d7f05098aafb39"
  next="2003/01/f4eccfa4676e4fcf89243cf0de154016"
  prev-thread="2003/01/a5817ced25cbb70715d7f05098aafb39"
  next-thread="2003/01/1889606e7800e49e46e01c0a3d7cecd9"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Trying to build a toplevel as a win32 dll">
<msg 
  url="2003/01/9eafc8c29bd075f861777389ece4e829"
  from="EL CHAAR RABIH &lt;RABIH.EL-CHAAR@s...&gt;"
  author="EL CHAAR RABIH"
  date="2003-01-10T16:07:25"
  subject="[Caml-list] Trying to build a toplevel as a win32 dll">
</msg>
</thread>

<contents>
Hello everybody,

I'm trying to build a Ocaml toplevel as a win32 dll.

In its simplest form, this means that one obtains a win32 dll that has only
one function for receiving as a string any (correct) ocaml syntax normally
entered into the toplevel and returns a string containing the result
normally pretty-printed by the toplevel (or the error message).

Its really just to be able to use Ocamls toplevel technology as a dll
callable from other software.
Of course, I could use the ocaml toplevel as a console application to which
my program would send some text and capture back the result, but I wish to
avoid this and call the ocaml engine "natively".

Did somebody manage to achieve this or have ideas about how to do it ?

Thanks in advance for your help

Rabih

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

