Re: The iterator case

One approach would be to allow a component to say that it produced a
sequence of infosets.  This would be done in some kind of component
description file; the API by which it actually outputs the sequence
would be implementation-dependent.  The pipeline compiler would then
be able to know when a sequence output was fed to a "normal" component
that only accepted a single infoset, and insert code to repeatedly run
the second component.  Similarly a component could say that it
accepted a sequence of infosets. 

(This kind of component description file will be necessary anyway to
specify the parameters that a component requires, how many inputs and
outputs it has, and perhaps whether the inputs and outputs are PSVIs
or other augmented infosets.)

-- Richard

Received on Thursday, 16 February 2006 22:48:21 UTC