Skip to content
Common Lisp Java HTML Shell NewLisp Dockerfile
Branch: master
Clone or download

Latest commit

Latest commit d143884 May 30, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ci Merge pull request #211 from easye/easye/ci/ironclad May 30, 2020
contrib abcl-introspect: fernflower decompiler working May 14, 2020
doc Make javap the default for CL:DISASSEMBLE May 12, 2020
etc Start modeling the source locations for changes and their metadata Jan 28, 2018
examples Restore Packages.findPackage() API for obtaining the current package … Jul 22, 2013
nbproject build: update netbeans-8.2 build metadata Oct 7, 2016
patches Merge pull request #209 from easye/easye/ci/cffi May 30, 2020
src The upper limit for 32 bit values is simply wrong May 29, 2020
t The upper limit for 32 bit values is simply wrong May 29, 2020
test Overhaul CL-BENCH invocation mechanism May 30, 2020
tools Move tools system definition into main ASDF file Jan 28, 2018
.dir-locals.el Set java tab-width to 2 Jul 11, 2012
.gitignore Add some things to gitignores Dec 17, 2019
.hgignore Show more intermediate artifacts with mercurial May 7, 2018
.travis.yml Merge pull request #211 from easye/easye/ci/ironclad May 30, 2020
CHANGES Make javap the default for CL:DISASSEMBLE May 12, 2020
COPYING Maintenance on file structure Jun 11, 2017
Dockerfile docker: use the now standardized openjdk container Nov 5, 2019
MANUAL Bump trunk to abcl-1.2-dev Dec 1, 2012
README abcl-1.6.1: further corrections to metadata and documentation Apr 26, 2020
abcl-prove.asd ci: stop ABCL-PROVE from exiting fatally on STORAGE-CONDITION Nov 30, 2019
abcl.asd Overhaul CL-BENCH invocation mechanism May 30, 2020
abcl.bat.in Place JVM options after classpath specification. Mar 25, 2014
abcl.in Remove unneeded licensing comment in abcl.in script May 15, 2017
abcl.properties.in build: support abcl.properties creation openjdk{6,7,8,11,13,14} Apr 24, 2020
abcl.rdf Make javap the default for CL:DISASSEMBLE May 12, 2020
build.xml build: support abcl.properties creation openjdk{6,7,8,11,13,14} Apr 24, 2020
install-sh Create separate project directories for ABCL and J. Dec 20, 2008
pom.xml meta: mark as building abcl-1.6.2-dev Apr 29, 2020

README

Armed Bear Common Lisp README
=============================

GENERAL INFORMATION
-------------------

Armed Bear Common Lisp is a conforming implementation of ANSI Common
Lisp that runs in a Java virtual machine.  It compiles Lisp code
directly to Java byte code.


LICENSE
=======

Armed Bear Common Lisp is distributed under the GNU General Public
License with a classpath exception (see "Classpath Exception" below).

A copy of GNU General Public License (GPLv2) is included in this
distribution, in <file:COPYING>.

We have modified our GPLv2 license section 13 to read:

     13. Linking this library statically or dynamically with other
     modules is making a combined work based on this library. Thus, the
     terms and conditions of the GNU General Public License cover the
     whole combination.

     The following paragraph details the "classpath exception" which ABCL
     allows as an exception to the statement about linking libraries.

     As a special exception, the copyright holders of this software give
     you permission to link this software with independent modules to
     produce an executable, regardless of the license terms of these
     independent modules, and to copy and distribute the resulting
     executable under terms of your choice, provided that you also meet,
     for each linked independent module, the terms and conditions of the
     license of that module. An independent module is a module which is
     not derived from or based on this software. If you modify this
     software, you may extend this exception to your version of the
     software, but you are not obligated to do so. If you do not wish to
     do so, delete this exception statement from your version.


RUNNING FROM DOCKER
===================

With [Docker Engine][] installed one may execute:

    docker build -t YOURID/abcl .
    docker run -it YOURID/abcl

to get something like

    illin:~/work/abcl$ docker run -it YOURID/abcl
    Armed Bear Common Lisp 1.6.1
    Java 1.8.0_252 Oracle Corporation
    OpenJDK 64-Bit Server VM
    Low-level initialization completed in 0.295 seconds.
    Startup completed in 1.425 seconds.
    Type ":help" for a list of available commands.
    CL-USER(1): 23
    23

See <file:Dockerfile> for the build instructions.

[Docker Engine]: https://www.docker.com/products/docker-engine



RUNNING FROM BINARY RELEASE
===========================

After you have downloaded a binary release from either [the
distributed Maven POM graph][maven-abcl] or from
[abcl.org][abcl.org-release] archive unpack it into its own
directory. To run ABCL directly from this directory, make sure Java
(Java 6, 7, 8, 11, 13, and 14 are supported by ABCL 1.6.1) is in your
shell's path.

[maven-abcl]:          <https://mvnrepository.com/artifact/org.abcl/abcl/1.6.1>
[maven-abcl-contrib]:  <https://mvnrepository.com/artifact/org.abcl/abcl-contrib/1.6.1>
[abcl.org-release]:    <http://abcl.org/releases/1.6.1/>

To start ABCL, simply issue the following command:

    cmd$ java -jar abcl.jar

which should result in output like the following

    Armed Bear Common Lisp 1.6.1
    Java 1.8.0_242 AdoptOpenJDK
    OpenJDK 64-Bit Server VM
    Low-level initialization completed in 0.356 seconds.
    Startup completed in 2.055 seconds.
    Loading /home/evenson_not_org/.abclrc completed in 13.669 seconds.
    Type ":help" for a list of available commands.
    CL-USER(1):

Yer now at the interactive ABCL "Read Eval Print Loop" (REPL): hacks
'n glory await.

SWANK
-----

One may easily start a swank listener via

    (require :asdf)
    (require :abcl-contrib)
    (asdf:load-system :quicklisp-abcl :force t)
    (ql:quickload :swank)                     


BUILDING FROM SOURCE RELEASE
============================

ABCL may be built from its source code by executing the build
instructions <file:build.xml> expressed by the venerable Apache Ant
tool.

To build, one must have a Java 6, 7, 8, 11, 13 or 14 Java Development
Kit (JDK) installed locally. Just the Java Runtime Environment (JRE)
isn't enough, as you need the Java compiler ('javac') to compile the
Java source of the ABCL implementation.

Download a binary distribution [Ant version 1.7.1 or greater][ant].
Unpack the files somewhere convenient, ensuring that the 'ant' (or
'ant.bat' under Windows) executable is in your path and executable.

[ant]: http://ant.apache.org/bindownload.cgi

Then simply executing 

    cmd$ ant

from the directory containing the <file:build.xml> instructions will
create an executable wrapper ('abcl' under UNIX, 'abcl.bat' under
Windows).  Use this wrapper to start ABCL.

The build may be customized by copying <file:abcl.properties.in> to
<file:abcl.properties>, which will cause Ant to attempt to build
incrementally as well as optimizing the runtime for a contemporary
64bit desktop/server machine running Java 8 or 11.  The file contains
incomplete documentation on how it may be edited for subsequent
customization.  As an alternative to copying the prototype, if one has
a version of bash locally, one may issue via Ant

    ant abcl.properties.autoconfigure.openjdk.11

or from the shell as

    bash ci/create-abcl-properties.bash openjdk11

Currently upported platforms are 'openjdk6', 'openjdk7', 'openjdk8',
'openjdk11', 'openjdk13', and 'openjdk14'.


Using NetBeans
--------------

Alternatively, one may install the [Netbeans visual integrated
development environment][netbeans], which contains both the Java
Development Kit as well as the Ant build tool.

With Netbeans, one should be able to open the ABCL directory as a
project whereupon the usual build, run, and debug targets as invoked
in the GUI are available.  Use the 'slime' config with a suitably
linked 'swank.asd' in '~/.asdf-install-dir/systems/' to connect a REPL
to the NetBeans debug process.

[netbeans]: http://netbeans.org/downloads/


BUGS
====

ABCL is a conforming ANSI Common Lisp implementation.  Any other
behavior should be reported as a bug.

ABCL now has a manual stating its conformance to the ANSI standard,
providing a compliant and practical Common Lisp implementation.


Tests
-----

ABCL 1.6.1 currently fails 45 out of 21848 total tests, whereas ABCL
1.5.0 failed 48 out of 21708 total tests in the [revised and expanded
ANSI CL test suite][ansi-test] (derived from the tests originally
written for GCL).

[ansi-test]: git+https://gitlab.common-lisp.net/ansi-test/ansi-test.git

Maxima's test suite runs without failures.

ABCL comes with a test suite, see the output of `ant help.test` for
more information.

### Deficiencies

Many.  But patches to address issues mentioned above will be gladly
accepted.

CONTACT
=======

Please report problems to the development mailing list:

    <armedbear-devel@common-lisp.net>

Have fun!

AUTHORS
=======

On behalf of all ABCL development team and contributors,

    Mark Evenson
    Erik Huelsmann
    Rudolf Schlatte
    Alessio Stalla
    Ville Voutilainen

    alan
    olof ferada
    pipping
    slyrus
    vibhu
    dmiles

April 2020
You can’t perform that action at this time.