Changes between Version 4 and Version 5 of DesignOfStreams


Ignore:
Timestamp:
01/27/10 21:25:24 (12 years ago)
Author:
vvoutilainen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DesignOfStreams

    v4 v5  
    2727no longer replace stream functions. The stream functionality will be based on closures in the slots of
    2828the structure-object representing the stream, and those closures will invoke low-level i/o functions that
    29 are stream-specific. The pretty printer will just setup closures that will extract the underlying stream
     29are stream-specific.
     30
     31The pretty printer will just setup closures that will extract the underlying stream
    3032object from a pprint-wrapped stream, and invoke its low-level functions. If pprint wrapping isn't present,
    3133the slots will contain closures that directly invoke low-level functions of streams. Gray streams will
    3234still replace the stream functions, because it's capable of invoking the replaced functions.
    3335
     36In addition to these changes, it is planned that the stream function primitives will be moved from the Stream
     37java class to a streamfunctions library, allowing the stream functions to be written in lisp rather than java.
     38There's an ongoing aspiration to increase the lisp/java code ratio of ABCL, and this new design allows for that.
     39
    3440[[Image(pprint-solution.png)]]