1 | GENERAL INFORMATION |
---|
2 | =================== |
---|
3 | |
---|
4 | Armed Bear Common Lisp is an implementation of ANSI Common Lisp that |
---|
5 | runs in a Java virtual machine. It compiles its code to Java byte code. |
---|
6 | |
---|
7 | |
---|
8 | LICENSE |
---|
9 | ======= |
---|
10 | |
---|
11 | Armed Bear Common Lisp is distributed under the GNU General Public |
---|
12 | License with classpath exception (described below). |
---|
13 | |
---|
14 | A copy of GNU General Public License (GPL) is included in this |
---|
15 | distribution, in the file COPYING. |
---|
16 | |
---|
17 | Linking this software statically or dynamically with other modules is |
---|
18 | making a combined work based on this software. Thus, the terms and |
---|
19 | conditions of the GNU General Public License cover the whole |
---|
20 | combination. |
---|
21 | |
---|
22 | As a special exception, the copyright holders of this software give |
---|
23 | you permission to link this software with independent modules to |
---|
24 | produce an executable, regardless of the license terms of these |
---|
25 | independent modules, and to copy and distribute the resulting |
---|
26 | executable under terms of your choice, provided that you also meet, |
---|
27 | for each linked independent module, the terms and conditions of the |
---|
28 | license of that module. An independent module is a module which is not |
---|
29 | derived from or based on this software. If you modify this software, |
---|
30 | you may extend this exception to your version of the software, but you |
---|
31 | are not obligated to do so. If you do not wish to do so, delete this |
---|
32 | exception statement from your version. |
---|
33 | |
---|
34 | |
---|
35 | BUILDING |
---|
36 | ======== |
---|
37 | |
---|
38 | If you want to build ABCL, you have 3 options. The first option |
---|
39 | applies when you come from a lisp background. The second and thirds |
---|
40 | options are more appropriate when you come from Java development: |
---|
41 | |
---|
42 | I) Bootstrap ABCL using a Common Lisp implementation |
---|
43 | Supported implementations for this process: SBCL, CMUCL, OpenMCL, |
---|
44 | Allegro CL, LispWorks or CLISP. |
---|
45 | |
---|
46 | II) Use the Ant make-like build tool for Java environments |
---|
47 | The tested lowest working version is Ant 1.7.0. |
---|
48 | |
---|
49 | III) Use the Netbeans 6.x IDE to open ABCL as a project. |
---|
50 | |
---|
51 | |
---|
52 | In both cases you need a supported JDK version (1.5 and 1.6 have been |
---|
53 | tested). Just the JRE isn't enough. |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | I. Lisp-based build |
---|
58 | ------------------- |
---|
59 | |
---|
60 | Copy the file 'customizations.lisp.in' to customization.lisp', in the |
---|
61 | directory containing this README file, editing to suit your situation, |
---|
62 | paying attention to the comments in the file. |
---|
63 | |
---|
64 | Start up one of the supported Common Lisp implementations in the |
---|
65 | directory containing this README file. |
---|
66 | |
---|
67 | Load build-abcl.lisp: |
---|
68 | |
---|
69 | (load "build-abcl.lisp") |
---|
70 | |
---|
71 | Then do: |
---|
72 | |
---|
73 | (build-abcl:build-abcl :clean t :full t) |
---|
74 | |
---|
75 | Wait for the build to finish and exit the host Lisp. |
---|
76 | |
---|
77 | Use abcl.bat on Windows or ./abcl on Unix to start ABCL. |
---|
78 | Note: abcl.bat and abcl contain absolute paths, so you'll need |
---|
79 | to edit them if you move things around after the build. |
---|
80 | |
---|
81 | In case of failure in the javac stage, you might try this: |
---|
82 | |
---|
83 | (build-abcl:build-abcl :clean t :full t :batch nil) |
---|
84 | |
---|
85 | This invokes javac separately for each .java file, which avoids running |
---|
86 | into limitations on command line length (but is a lot slower). |
---|
87 | |
---|
88 | |
---|
89 | II. Ant-based build |
---|
90 | ------------------- |
---|
91 | |
---|
92 | With Ant in your path, executing |
---|
93 | |
---|
94 | ant -find build.xml abcl.wrapper |
---|
95 | |
---|
96 | from the directory containing this README file will create an |
---|
97 | executable wrapper ('abcl' under UNIX, 'abcl.bat' under Windows). |
---|
98 | Use this wrapper to start the ABCL Java program. |
---|
99 | |
---|
100 | |
---|
101 | III. Netbeans-based build |
---|
102 | ------------------------- |
---|
103 | |
---|
104 | One should be able to open the project as a project in Netbeans 6.x. |
---|
105 | |
---|
106 | |
---|
107 | BUGS |
---|
108 | ==== |
---|
109 | |
---|
110 | A lot of (renewed) energy has been spent to make ABCL a compliant |
---|
111 | and practically useable Common Lisp implementation. Because of this, |
---|
112 | ABCL 0.0.11 now fails only 47 out of 21702 tests in the ANSI CL test |
---|
113 | suite. Next to that, the fail count of the Maxima test suite has been |
---|
114 | reduced from over 1400 in 0.0.10 to little more than 600 in 0.0.11. |
---|
115 | |
---|
116 | ABCL's CLOS does not handle on-the-fly redefinition of classes |
---|
117 | correctly, and in any event is intolerably slow. There is no support |
---|
118 | for the long form of DEFINE-METHOD-COMBINATION, and certain other |
---|
119 | required CLOS features are also missing. Enough CLOS is there to run |
---|
120 | ASDF and CL-PPCRE, if you're in no hurry. |
---|
121 | |
---|
122 | There is no MOP worth mentioning. |
---|
123 | |
---|
124 | Since this is a early public release, there might be build |
---|
125 | problems as well as runtime bugs. |
---|
126 | |
---|
127 | Please report problems to the j-devel mailing list: |
---|
128 | |
---|
129 | armedbear-j-devel@lists.sourceforge.net |
---|
130 | |
---|
131 | Have fun! |
---|
132 | |
---|
133 | On behalf of all ABCL development team and contributors, |
---|
134 | Erik Huelsmann |
---|
135 | October 18, 2008 |
---|