Changes between Version 4 and Version 5 of DesignOfStreams
- Timestamp:
- 01/27/10 21:25:24 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DesignOfStreams
v4 v5 27 27 no longer replace stream functions. The stream functionality will be based on closures in the slots of 28 28 the 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 29 are stream-specific. 30 31 The pretty printer will just setup closures that will extract the underlying stream 30 32 object from a pprint-wrapped stream, and invoke its low-level functions. If pprint wrapping isn't present, 31 33 the slots will contain closures that directly invoke low-level functions of streams. Gray streams will 32 34 still replace the stream functions, because it's capable of invoking the replaced functions. 33 35 36 In addition to these changes, it is planned that the stream function primitives will be moved from the Stream 37 java class to a streamfunctions library, allowing the stream functions to be written in lisp rather than java. 38 There's an ongoing aspiration to increase the lisp/java code ratio of ABCL, and this new design allows for that. 39 34 40 [[Image(pprint-solution.png)]]