Hello, 2010/7/8 Gaspard Bucher <gasp...@teti.ch>: > 1. Is it possible to embed an ocaml compiler ? (something that eats > std::string and produces a callable thing)
No, not the compiler. It is however possible to embed an interpreter and to load byte code (and native code?) on demand: http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html#toc134 > 2. How would an interface between C++ and a compiled script work ? (passing > values, getting return values) Through a C interface. See above link. Sincerely yours, david _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs