forked from beaCarre/OJacare2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
72 lines (55 loc) · 2.54 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
O'Jacare 2 :
An object-oriented interface between O'Caml and Java
------------------------------------------------------------------------------
$Date: 2014/07/18 09:32:16 $
------------------------------------------------------------------------------
Principle
------------------------------------------------------------------------------
O'Jacare 2 is a code generator to help in interoperability between Java and
O'Caml through their object model. O'Jacare defines a simple IDL for Java's
classes and interfaces descriptions. For communications from Java to O'Caml
it owns a callback mechanism. So, you can override in O'Caml a method
defined in Java or implement a Java interface in O'Caml.
The implementation uses the OCaml-Java compiler.
O'Jacare generates all needed wrapper classes and enables static
typechecking in both world.
*Web-site:
http://www.github.com/beaCarre/OJacare2
*OCaml-Java:
http://www.ocamljava.org/
*O'Caml:
http://caml.inria.fr/
*Java:
http://java.sun.com/
------------------------------------------------------------------------------
Installation
------------------------------------------------------------------------------
See INSTALL
------------------------------------------------------------------------------
Usage
------------------------------------------------------------------------------
O'Jacaré's IDL have a syntax similar to Java syntax.
The command line tool 'ojacare' take an idl file in argument.
It generate an Caml module (named as the idl file),
and some Java classes in a package named callback.
This generated code, depends on the 'ocamljava' compiler,
but users could now see a Java object as a Caml object.
The callback mechanism allow to subclass in Caml a class implemented in Java.
------------------------------------------------------------------------------
Examples
------------------------------------------------------------------------------
See the directory examples/
------------------------------------------------------------------------------
Documentation
------------------------------------------------------------------------------
See directory doc/ or website for up-to-date documentation.
(http://www.pps.jussieu.fr/~henry/ojacare/documentation.en.html)
See directory Rapport/ for further informations.
License: See file LICENSE
-------------------------------------------------------------------------------
Contact:
$Id: README,v 1.6 2014/07/18 09:32:16 beatrice Exp $