| 1 |
Source: camljava |
| 2 |
Section: ocaml |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian OCaml Maintainers <[email protected]> |
| 5 |
Build-Depends: |
| 6 |
debhelper-compat (= 13), |
| 7 |
ocaml, |
| 8 |
default-jdk, |
| 9 |
ocaml-findlib, |
| 10 |
dh-ocaml |
| 11 |
Standards-Version: 4.7.0 |
| 12 |
Rules-Requires-Root: no |
| 13 |
Vcs-Git: https://salsa.debian.org/ocaml-team/camljava.git |
| 14 |
Vcs-Browser: https://salsa.debian.org/ocaml-team/camljava |
| 15 |
Homepage: https://pauillac.inria.fr/~xleroy/software.html#camljava |
| 16 |
|
| 17 |
Package: libcamljava-ocaml-dev |
| 18 |
Architecture: any |
| 19 |
Depends: |
| 20 |
${ocaml:Depends}, |
| 21 |
default-jdk, |
| 22 |
${shlibs:Depends}, |
| 23 |
${misc:Depends} |
| 24 |
Provides: ${ocaml:Provides} |
| 25 |
Description: interface between OCaml and Java via Caml/C interface and JNI |
| 26 |
CamlJava is an interface between OCaml and Java allowing programs written in |
| 27 |
one of the two languages to call code written in the other. |
| 28 |
. |
| 29 |
Interaction among the two languages happen via the respective C interfaces: |
| 30 |
Caml/C interface for OCaml and JNI (Java Native Interface) for Java. |
| 31 |
. |
| 32 |
Currently, CamlJava provides a low-level, weakly-typed OCaml interface very |
| 33 |
similar to the JNI. Java object references are mapped to an abstract type, and |
| 34 |
various JNI-like operations are provided to allow Java method invocation, |
| 35 |
field access, and more. |
| 36 |
. |
| 37 |
A basic callback facility (allowing Java code to invoke methods on OCaml |
| 38 |
objects) is also provided, although some stub Java code must be written by |
| 39 |
hand. |
| 40 |
. |
| 41 |
This package contain all the development stuff needed to use CamlJava from |
| 42 |
OCaml programs. |