devel/ocaml-camljava 0.5 DragonFly
OCaml-Java library interface
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv2
- Categories
- devel, java
- Package size
- 43.7 KiB, 174.2 KiB installed
Description
This is a very preliminary release of CamlJava, an OCaml/Java interface based on the following schema:
Caml/C interface JNI (Java Native Interface)
Caml <------------------> C <-----------------------------> Java
Currently, CamlJava provides a low-level, weakly-typed OCaml interface very similar to the JNI. Java object references are mapped to an abstract type, and various JNI-like operations are provided to allow Java method invocation, field access, and more. A basic callback facility (allowing Java code to invoke methods on Caml objects) is also provided, although some stub Java code must be written by hand.
In the future, a higher-level, strongly-typed interface will be provided, whereas Java classes are mapped directly to Caml classes. This raises fairly delicate type mapping issues, though, so don't hold your breath.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/ocaml-camljava | 0.5 |
| FreeBSD | devel/ocaml-camljava | 0.5_2 |
| GhostBSD | devel/ocaml-camljava | 0.5_2 |
Install
Binary package:
pkg install ocaml-camljava
From DPorts:
cd /usr/dports/devel/ocaml-camljava && make install clean
Dependencies
Run dependencies 2
No port depends on this one.