File: README

package info (click to toggle)
abcl 1.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,064 kB
  • sloc: lisp: 63,756; java: 63,092; xml: 4,300; sh: 409; makefile: 25; awk: 3
file content (38 lines) | stat: -rw-r--r-- 1,128 bytes parent folder | download | duplicates (2)
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
ABCL Examples Building and Running Instructions
===============================================

To compile 

    cmd$ javac  -cp ../../dist/abcl.jar  Main.java

where the "../../../dist/abcl.jar" represents the path to your
abcl.jar file, which is built via the Ant based build.  This path
could be slightly different depending on how the system was
constructed, and possibly due to operating system conventions for
specifying relative paths.  However you resolve this locally, we'll
refer to this as '$ABCL_ROOT/dist/abcl.jar' for the rest of these
instructions.

This compiles the Java source file "Main.java" into a JVM runtime or
class file named "Main.class".

To run the example (Main.class for example) from a Unix-like OS use:

    cmd$ export CLASSPATH=.
    cmd$ $ABCL_ROOT/abcl

then, in abcl repl, use:
(load "lispfunctions")
(void-function)

or in Windows use:

    cmd$  set CLASSPATH=.
    cmd$  $ABCL_ROOT/abcl

then, in abcl repl, use:
(load "lispfunctions")
(void-function)

This will result in the Main class being found from the CLASSPATH, and you
can invoke the functions of the Main class from lisp code.