On Sun, Nov 6, 2011 at 1:37 AM, Oliver Kullmann <O.Kullmann at swansea.ac.uk>wrote:
> Don't know why this works with CLisp but not with Ecl.
>
Definitely works for me (see below). But ECL does not build Maxima without
one of the latest patches I uploaded.
Juanjo
$ ./maxima-local
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/sb-bsd-sockets.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/sockets.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/defsystem.fas"
;;; Loading #P"/Users/jjgarcia/lib/ecl-11.1.1/cmp.fas"
Maxima 5.23post http://maxima.sourceforge.net
using Lisp ECL 11.1.1
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) writefile("~/foo.log");
Starts dribbling to /Users/jjgarcia/foo.log (2011/11/6, 9:55:42).
NIL
(%o1) done
(%i2) 3
4
stdin:3393291:incorrect syntax: 4 is not an infix operator
(%i2) 4;
(%o2) 4
(%i3) 5;
(%o3) 5
(%i4) closefile();
NIL
(%o4) done
(%i5) $ cat ~/foo.log
Starts dribbling to /Users/jjgarcia/foo.log (2011/11/6, 9:55:42).
NIL
(%o1) done
(%i2)
stdin:3393291:incorrect syntax: 4 is not an infix operator
(%i2)
(%o2) 4
(%i3)
(%o3) 5
(%i4)
Finished dribbling to /Users/jjgarcia/foo.log.$
--
Instituto de F?sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com