Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    d4ad6755
    Apply Lynn Quam's proposed enhancements to fd-streams allowing input · d4ad6755
    rtoy authored
    streams opened with element-type (unsigned-byte 8) to be also opened
    for character input.  This gives simple-streams semantics to
    fd-streams.
    
    * code/fd-stream.lisp
      o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct
        type of input.
      o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary
        and character input.  Currently defaults to NIL, but will change
        to T.
    
    * code/stream.lisp
      o New READ-INTO-SIMPLE-STRING to allow stream element-type of
        (unsigned-byte 8).
      o Support reading and writing simple arrays of single-float and
        double-float.
      o Strings can be written to streams of element-type '(unsigned-byte
        8).
    
    * tools/worldcom.lisp
      o Compile stream-vector-io.lisp.
    
    * tools/worldload.lisp
      o Load stream-vector-io.
    
    * code/stream-vector-io.lisp
      o New file implementing READ-VECTOR and WRITE-VECTOR.
    d4ad6755
    History
    Apply Lynn Quam's proposed enhancements to fd-streams allowing input
    rtoy authored
    streams opened with element-type (unsigned-byte 8) to be also opened
    for character input.  This gives simple-streams semantics to
    fd-streams.
    
    * code/fd-stream.lisp
      o Make FD-STREAM-IN use PICK-INPUT-ROUTINE to select the correct
        type of input.
      o Add *FD-STREAM-ENABLE-CHARACTER-AND-BINARY-INPUT* to allow binary
        and character input.  Currently defaults to NIL, but will change
        to T.
    
    * code/stream.lisp
      o New READ-INTO-SIMPLE-STRING to allow stream element-type of
        (unsigned-byte 8).
      o Support reading and writing simple arrays of single-float and
        double-float.
      o Strings can be written to streams of element-type '(unsigned-byte
        8).
    
    * tools/worldcom.lisp
      o Compile stream-vector-io.lisp.
    
    * tools/worldload.lisp
      o Load stream-vector-io.
    
    * code/stream-vector-io.lisp
      o New file implementing READ-VECTOR and WRITE-VECTOR.