1 | Armed Bear Common Lisp README |
---|
2 | ============================= |
---|
3 | |
---|
4 | GENERAL INFORMATION |
---|
5 | ------------------- |
---|
6 | |
---|
7 | Armed Bear Common Lisp is a conforming implementation of ANSI Common |
---|
8 | Lisp that runs in a Java virtual machine. It compiles Lisp code |
---|
9 | directly to Java byte code. |
---|
10 | |
---|
11 | |
---|
12 | LICENSE |
---|
13 | ======= |
---|
14 | |
---|
15 | Armed Bear Common Lisp is distributed under the GNU General Public |
---|
16 | License with a classpath exception (see "Classpath Exception" below). |
---|
17 | |
---|
18 | A copy of GNU General Public License (GPLv2) is included in this |
---|
19 | distribution, in <file:COPYING>. |
---|
20 | |
---|
21 | We have modified our GPLv2 license section 13 to read: |
---|
22 | |
---|
23 | 13. Linking this library statically or dynamically with other |
---|
24 | modules is making a combined work based on this library. Thus, the |
---|
25 | terms and conditions of the GNU General Public License cover the |
---|
26 | whole combination. |
---|
27 | |
---|
28 | The following paragraph details the "classpath exception" which ABCL |
---|
29 | allows as an exception to the statement about linking libraries. |
---|
30 | |
---|
31 | As a special exception, the copyright holders of this software give |
---|
32 | you permission to link this software with independent modules to |
---|
33 | produce an executable, regardless of the license terms of these |
---|
34 | independent modules, and to copy and distribute the resulting |
---|
35 | executable under terms of your choice, provided that you also meet, |
---|
36 | for each linked independent module, the terms and conditions of the |
---|
37 | license of that module. An independent module is a module which is |
---|
38 | not derived from or based on this software. If you modify this |
---|
39 | software, you may extend this exception to your version of the |
---|
40 | software, but you are not obligated to do so. If you do not wish to |
---|
41 | do so, delete this exception statement from your version. |
---|
42 | |
---|
43 | |
---|
44 | RUNNING FROM DOCKER |
---|
45 | =================== |
---|
46 | |
---|
47 | With [Docker Engine][] installed one may execute: |
---|
48 | |
---|
49 | docker build -t YOURID/abcl . |
---|
50 | docker run -it YOURID/abcl |
---|
51 | |
---|
52 | to get |
---|
53 | |
---|
54 | illin:~/work/abcl$ docker run -it YOURID/abcl |
---|
55 | Armed Bear Common Lisp 1.6.0-dev |
---|
56 | Java 1.8.0_111 Oracle Corporation |
---|
57 | OpenJDK 64-Bit Server VM |
---|
58 | Low-level initialization completed in 0.295 seconds. |
---|
59 | Startup completed in 1.425 seconds. |
---|
60 | Type ":help" for a list of available commands. |
---|
61 | CL-USER(1): 23 |
---|
62 | 23 |
---|
63 | |
---|
64 | See <file:Dockerfile> for the build instructions. |
---|
65 | |
---|
66 | [Docker Engine]: https://www.docker.com/products/docker-engine |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | RUNNING FROM BINARY RELEASE |
---|
71 | =========================== |
---|
72 | |
---|
73 | After you have downloaded a binary release from either [the |
---|
74 | distributed Maven POM graph][maven-abcl] or from |
---|
75 | [abcl.org][abcl.org-release] archive unpack it into its own |
---|
76 | directory. To run ABCL directly from this directory, make sure Java |
---|
77 | (Java 6, 7, 8, and 11 are supported by ABCL 1.6.0) is in your shell's |
---|
78 | path. |
---|
79 | |
---|
80 | [maven-abcl]: <https://mvnrepository.com/artifact/org.abcl/abcl/1.6.0> |
---|
81 | [maven-abcl-contrib]: <https://mvnrepository.com/artifact/org.abcl/abcl-contrib/1.6.0> |
---|
82 | [abcl.org-release]: <http://abcl.org/releases/1.6.0/> |
---|
83 | |
---|
84 | To start ABCL, simply issue the following command: |
---|
85 | |
---|
86 | cmd$ java -jar abcl.jar |
---|
87 | |
---|
88 | which should result in output like the following |
---|
89 | |
---|
90 | Armed Bear Common Lisp 1.6.0 |
---|
91 | Java 1.8.0_232 AdoptOpenJDK |
---|
92 | OpenJDK 64-Bit Server VM |
---|
93 | Low-level initialization completed in 0.356 seconds. |
---|
94 | Startup completed in 2.055 seconds. |
---|
95 | Loading /home/evenson_not_org/.abclrc completed in 13.669 seconds. |
---|
96 | Type ":help" for a list of available commands. |
---|
97 | CL-USER(1): |
---|
98 | |
---|
99 | |
---|
100 | Yer now at the interactive ABCL "Read Eval Print Loop" (REPL): hacks |
---|
101 | 'n glory await. |
---|
102 | |
---|
103 | SWANK |
---|
104 | ----- |
---|
105 | |
---|
106 | One may easily start a swank listener via |
---|
107 | |
---|
108 | (require :asdf) |
---|
109 | (require :abcl-contrib) |
---|
110 | (asdf:load-system :quicklisp-abcl :force t) |
---|
111 | (ql:quickload :swank) |
---|
112 | |
---|
113 | |
---|
114 | BUILDING FROM SOURCE RELEASE |
---|
115 | ============================ |
---|
116 | |
---|
117 | ABCL may be built from its source code by executing the build |
---|
118 | instructions <file:build.xml> expressed by the venerable Apache Ant |
---|
119 | tool. |
---|
120 | |
---|
121 | To build, one must have a Java 6, 7, 8 or 11 Java Development Kit |
---|
122 | (JDK) installed locally. Just the Java Runtime Environment (JRE) isn't |
---|
123 | enough, as you need the Java compiler ('javac') to compile the Java |
---|
124 | source of the ABCL implementation. |
---|
125 | |
---|
126 | Download a binary distribution [Ant version 1.7.1 or greater][ant]. |
---|
127 | Unpack the files somewhere convenient, ensuring that the 'ant' (or |
---|
128 | 'ant.bat' under Windows) executable is in your path and executable. |
---|
129 | |
---|
130 | [ant]: http://ant.apache.org/bindownload.cgi |
---|
131 | |
---|
132 | Then simply executing |
---|
133 | |
---|
134 | cmd$ ant |
---|
135 | |
---|
136 | from the directory containing the <file:build.xml> instructions will |
---|
137 | create an executable wrapper ('abcl' under UNIX, 'abcl.bat' under |
---|
138 | Windows). Use this wrapper to start ABCL. |
---|
139 | |
---|
140 | The build may be customized by copying <file:abcl.properties.in> to |
---|
141 | <file:abcl.properties>, which will cause Ant to attempt to build |
---|
142 | incrementally as well as optimizing the runtime for a contemporary |
---|
143 | 64bit desktop/server machine running Java 8 or 11. The file contains |
---|
144 | incomplete documentation on how it may be edited for subsequent |
---|
145 | customization. |
---|
146 | |
---|
147 | |
---|
148 | Using NetBeans |
---|
149 | -------------- |
---|
150 | |
---|
151 | Alternatively, one may install the [Netbeans visual integrated |
---|
152 | development environment][netbeans], which contains both the Java |
---|
153 | Development Kit as well as the Ant build tool. |
---|
154 | |
---|
155 | With Netbeans, one should be able to open the ABCL directory as a |
---|
156 | project whereupon the usual build, run, and debug targets as invoked |
---|
157 | in the GUI are available. Use the 'slime' config with a suitably |
---|
158 | linked 'swank.asd' in '~/.asdf-install-dir/systems/' to connect a REPL |
---|
159 | to the NetBeans debug process. |
---|
160 | |
---|
161 | [netbeans]: http://netbeans.org/downloads/ |
---|
162 | |
---|
163 | |
---|
164 | BUGS |
---|
165 | ==== |
---|
166 | |
---|
167 | ABCL is a conforming ANSI Common Lisp implementation. Any other |
---|
168 | behavior should be reported as a bug. |
---|
169 | |
---|
170 | ABCL now has a manual stating its conformance to the ANSI standard, |
---|
171 | providing a compliant and practical Common Lisp implementation. |
---|
172 | |
---|
173 | |
---|
174 | Tests |
---|
175 | ----- |
---|
176 | |
---|
177 | ABCL 1.6.0 currently fails 46 out of 21835 total tests, whereas ABCL |
---|
178 | 1.5.0 failed 48 out of 21708 total tests in the [revised and expanded |
---|
179 | ANSI CL test suite][ansi-test] (derived from the tests originally |
---|
180 | written for GCL). |
---|
181 | |
---|
182 | [ansi-test]: git+https://gitlab.common-lisp.net/ansi-test/ansi-test.git |
---|
183 | |
---|
184 | Maxima's test suite runs without failures. |
---|
185 | |
---|
186 | ABCL comes with a test suite, see the output of `ant help.test` for |
---|
187 | more information. |
---|
188 | |
---|
189 | ### Deficiencies |
---|
190 | |
---|
191 | Many. But patches to address issues mentioned above will be gladly |
---|
192 | accepted. |
---|
193 | |
---|
194 | CONTACT |
---|
195 | ======= |
---|
196 | |
---|
197 | Please report problems to the development mailing list: |
---|
198 | |
---|
199 | <armedbear-devel@common-lisp.net> |
---|
200 | |
---|
201 | Have fun! |
---|
202 | |
---|
203 | AUTHORS |
---|
204 | ======= |
---|
205 | |
---|
206 | On behalf of all ABCL development team and contributors, |
---|
207 | |
---|
208 | Mark Evenson |
---|
209 | Erik Huelsmann |
---|
210 | Rudolf Schlatte |
---|
211 | Alessio Stalla |
---|
212 | Ville Voutilainen |
---|
213 | |
---|
214 | alan |
---|
215 | olof ferada |
---|
216 | pipping |
---|
217 | slyrus |
---|
218 | vibhu |
---|
219 | dmiles |
---|
220 | |
---|
221 | November 2019 |
---|
222 | |
---|
223 | |
---|
224 | |
---|