Subject: [Ecls-list] [Maxima] Problems with ECL and Maxima
From: Juan Jose Garcia Ripoll
Date: Mon, 02 May 2005 16:01:04 +0200
Goffioul Michael wrote:
>3) Maxima uses (namestring ...) on streams: the input stream (which is a synonym-stream
>to terminal-io) and also on concatenated streams. This fails in ECL, but I couldn't
>find in hyperspec whether this is supposed to work.
>
>
From the definition of NAMESTRING, it should work on "pathname
designators". However, as the glossary shows, concatenated streams are
not valid pathname designators.
http://www.lisp.org/HyperSpec/Body/fun_namestrin_h-namestring.htmlhttp://www.lisp.org/HyperSpec/Body/glo_p.html#pathname_designator and
http://www.lisp.org/HyperSpec/Body/glo_s.html#stream_associated_with_a_file
---
pathname designator n. a designator for a pathname; that is, an object
that denotes a pathname and that is one of: a pathname namestring
(denoting the corresponding pathname), a stream associated with a file
(denoting the pathname used to open the file; this may be, but is not
required to be, the actual name of the file), or a pathname (denoting
itself). See Section 21.1.1.1.2 (Open and Closed Streams).
stream associated with a file n. a file stream, or a synonym stream the
target of which is a stream associated with a file. Such a stream cannot
be created with make-two-way-stream, make-echo-stream,
make-broadcast-stream, make-concatenated-stream,
make-string-input-stream, or make-string-output-stream.