~ubuntu-branches/debian/squeeze/maxima/squeeze

« back to all changes in this revision

Viewing changes to README.lisps

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2006-10-18 14:52:42 UTC
  • mto: (1.1.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061018145242-vzyrm5hmxr8kiosf
ImportĀ upstreamĀ versionĀ 5.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Notes on lisp implementations for Maxima:
2
 
 
3
 
clisp, CMUCL, GCL and SBCL are fully supported by Maxima; previous
4
 
versions of Maxima only fully supported GCL. Allegro Common Lisp and
5
 
OpenMCL have some support, but have not been fully tested. Ports to
6
 
other ANSI lisps should be straightforward and are welcome; please
7
 
contact the developers if you are interested in working on a port.
8
 
 
9
 
clisp <http://clisp.cons.org>, <http://clisp.sourceforge.net>
10
 
-----
11
 
        clisp includes GNU readline support, so Maxima will have
 
1
Notes on Lisp implementations for Maxima:
 
2
 
 
3
Clisp, CMUCL, Scieneer Common Lisp (SCL), GCL (ANSI-enabled only)
 
4
and SBCL can compile and execute Maxima.
 
5
Allegro Common Lisp and OpenMCL might also work, but have not
 
6
been fully tested.
 
7
Ports to other ANSI Common Lisps should be straightforward
 
8
and are welcome; please post a message on the Maxima mailing list
 
9
if you are interested in working on a port.
 
10
See also the ports page at the Maxima wiki:
 
11
http://maxima.sourceforge.net/wiki/index.php?Maxima%20ports
 
12
 
 
13
When Maxima is recompiled, the Lisp implementation is selected by
 
14
an argument of the form `--enable-foolisp' for the configure script.
 
15
`./configure --help' shows a list of the Lisp types recognized by
 
16
configure (among other options). Always specify the Lisp type;
 
17
configure tries to autodetect the Lisp type if it is not specified,
 
18
but it has been reported that autodetection can fail.
 
19
 
 
20
--------------------------------------------------------------------
 
21
Comparison of execution times for the run_testsuite function
 
22
All times are in elapsed seconds
 
23
 
 
24
Maxima      System                  GCL     SBCL    CMUCL   Clisp
 
25
 
 
26
pre-5.9.3   P2 450 MHz, Linux        75      91              301
 
27
 
 
28
 
 
29
--------------------------------------------------------------------
 
30
Clisp <http://clisp.cons.org>, <http://clisp.sourceforge.net>
 
31
 
 
32
        Clisp includes GNU readline support, so Maxima has
12
33
advanced command-line editing facilities when built with it.
13
34
 
14
 
clisp versions: Clisp version 2.33.2 or later is recommended. Clisp
15
 
2.30 is not compatible with Maxima and should be avoided.
16
 
 
 
35
Clisp versions: Clisp version 2.33.2 or later is recommended.
 
36
Clisp 2.30 is not compatible with Maxima.
 
37
 
 
38
Clisp is compiled to bytecodes, so Maxima running on Clisp is
 
39
substantially slower than on Lisps compiled to machine instructions.
 
40
Clisp computes floating-point operations in software,
 
41
so floating-point operations in Clisp are much slower than in Lisps
 
42
which make use of hardware instructions for floating-point operations.
 
43
On the other hand, Clisp makes use of the GMP library for arbitrary-
 
44
precision integer computations.
 
45
 
 
46
There are Clisp implementations for many platforms
 
47
including MS Windows and Unix-like systems.
 
48
 
 
49
--------------------------------------------------------------------
17
50
CMUCL <http://cmucl.cons.org>
18
 
-----
19
51
 
20
52
        CMUCL is a fast option for Maxima on platforms where it is
21
53
available. The rmaxima front-end provides advanced line-editing
24
56
 
25
57
CMUCL versions: 18e and 19a are known to work.
26
58
 
 
59
There are CMUCL implementations only for Unix-like systems
 
60
(not MS Windows).
 
61
 
 
62
--------------------------------------------------------------------
 
63
Scieneer Common Lisp (SCL) <http://www.scieneer.com/scl/>
 
64
 
 
65
        Scieneer Common Lisp (SCL) is a fast option for Maxima for a
 
66
range of Linux and Unix platforms.  The SCL 1.2.8 release and later
 
67
are supported.  SCL offers a lower case, case sensitive, version which
 
68
avoids the Maxima case inversion issues with symbol names.  Tested
 
69
front end options are: maxima emacs mode available in the
 
70
interfaces/emacs/ directory, the emacs imaxima mode available from
 
71
http://members3.jcom.home.ne.jp/imaxima/, and TeXmacs available from
 
72
http://www.texmacs.org/
 
73
 
 
74
--------------------------------------------------------------------
27
75
GCL <http://savannah.gnu.org/projects/gcl>
28
 
---
 
76
 
29
77
        GCL versions starting with 2.4.3 can be built with readline
30
 
support, so Maxima will have advanced command-line editing facilities
31
 
when built with it.
32
 
 
33
 
GCL versions: GCL 2.6.5 is recommended for Maxima. Only the ANSI build
34
 
of GCL is currently supported, i.e., GCL must be configured with the
35
 
--enable-ansi flag. GCL produces a fast Maxima exectuable.
36
 
 
 
78
support, so Maxima has advanced command-line editing facilities
 
79
when built with it. GCL produces a fast Maxima exectuable.
 
80
 
 
81
GCL versions: GCL 2.6.5 and 2.6.7 are known to work for Maxima.
 
82
Only the ANSI-enabled version of GCL works with Maxima, i.e.,
 
83
when GCL is built, it must be configured with the --enable-ansi flag,
 
84
i.e., execute ``./configure --enable-ansi'' in the build directory
 
85
before executing make.
 
86
 
 
87
Whether GCL is ANSI-enabled or not can be determined by 
 
88
inspecting the banner which is printed when GCL is executed;
 
89
if ANSI-enabled, the banner should say "ANSI".
 
90
Also, the special variable *FEATURES* should include the keyword :ANSI-CL.
 
91
 
 
92
There are GCL implementations for many platforms
 
93
including MS Windows and Unix-like systems.
 
94
 
 
95
--------------------------------------------------------------------
37
96
SBCL <http://sbcl.sourceforge.net>
38
 
----
39
 
        rmaxima is recommended for use with SBCL. See CMUCL above.
40
 
 
41
 
        SBCL version 0.8.9 is known to work.
42
 
 
 
97
 
 
98
    SBCL is a fork of CMUCL which differs in some minor details,
 
99
but most notably, it is simpler to rebuild SBCL than CMUCL.
 
100
 
 
101
rmaxima is recommended for use with SBCL. See CMUCL above.
 
102
 
 
103
SBCL versions 0.8.9 and 0.9.4 are known to work.
 
104
 
 
105
There are SBCL implementations only for Unix-like systems
 
106
(not MS Windows).
 
107
 
 
108
--------------------------------------------------------------------
43
109
Allegro Common Lisp and OpenMCL:
44
 
-------------------------------
45
110
 
46
111
        Maxima should work with Allegro Common Lisp and OpenMCL, but
47
 
only limited testing has been done with these lisp
 
112
only limited testing has been done with these Lisp
48
113
implementations. User feedback would be welcome.