caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] linking ocaml with java
@ 2001-06-29 20:53 Bauer, Robert
  2001-07-02 12:01 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Bauer, Robert @ 2001-06-29 20:53 UTC (permalink / raw)
  To: caml-list

Hi,

I wrote a very simple tautology checker in ocaml - I have an existing
application in java that could benefit from it.  I suppose I could go from
ocaml to COM and from jintegra into java and the other way around; however,
I would much prefer to have ocaml and java work together without an
intermediary.

I am under the impression that some versions of ML already have translators
to java byte code - I am assuming that this is the case for ocaml although I
didn't see anything on the caml web page that confirms my impression.

If it is possible to link ocaml with java, could someone point me to some
documentation or provide the instructions.

Thanks.
Robert

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] linking ocaml with java
  2001-06-29 20:53 [Caml-list] linking ocaml with java Bauer, Robert
@ 2001-07-02 12:01 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2001-07-02 12:01 UTC (permalink / raw)
  To: Bauer, Robert; +Cc: caml-list

> If it is possible to link ocaml with java, could someone point me to some
> documentation or provide the instructions.

A preliminary Caml/Java interface (via the Java Native Interface) is
available at http://caml.inria.fr/distrib/camljava-0.1.tar.gz

This is a JNI-level interface: it lets you do pretty much everything,
but is not type safe and a bit heavy in places.  A higher-level interface
providing a more direct, type-safe mapping between Java classes and
Caml classes, is planned at some point.

- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-02 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-29 20:53 [Caml-list] linking ocaml with java Bauer, Robert
2001-07-02 12:01 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).