source: trunk/abcl/contrib/jfli/README @ 13949

Last change on this file since 13949 was 13949, checked in by Mark Evenson, 9 years ago

abcl-contrib: Add jfli.

The Java Foreign Linker Interface (JFLI) provides an abstraction to
manipulate Java classes from Armed Bear Common Lisp that has been
ported to other Lisp implementations.

Incorporated into ABCL from <git://github.com/mrohne/jfli>.

File size: 1.3 KB
Line 
1JFLI
2====
3
4The Java Foreign Linker Interface (JFLI) provides an abstraction to
5manipulate Java classes from Armed Bear Common Lisp that has been
6ported to other Lisp implementations.
7
8Incorporated into ABCL from <git://github.com/mrohne/jfli>.
9
10
11README
12------
13
14jfli (http://jfli.sf.net) is a library that provides access to Java
15from Lisp. jfli-abcl is jfli modified to work with ABCL
16(http://armedbear-j.sf.net); it provides the same interface to Java,
17but, since ABCL lives on the JVM, it doesn't need jni.
18
19jfli-abcl has an experimental NEW-CLASS macro that writes and loads a
20Java class at runtime, and defines the usual jfli-like Lisp interface
21to it. See the documentation of NEW-CLASS and the examples for the
22syntax. If you want to use it, make sure that (1) asm.jar
23(http://asm.objectweb.org) is in your classpath, and (2) the runtime
24generated Java classes are in the Java package of the same name as the
25Lisp package in which they're defined, like this:
26
27(in-package "FOO")
28(new-class "FOO.MyClass" ...)
29
30Caveats: jfli-abcl inherits all the bugs from jfli; see the archives
31of the jfli-users mailing list for a partial list. It probably also
32adds some of its own. I'm particularly interested in the latter type.
33
34Please send (ABCL-specific) bug reports, suggestions, examples,
35and whatever else you can think of, to asimon@math.bme.hu.
36
Note: See TracBrowser for help on using the repository browser.