buffered input

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Feb 5 16:17:07 PST 2011


On 2/5/11 12:59 PM, Tomek Sowiński wrote:
> Andrei Alexandrescu napisał:
>
>> Transparent buffering sounds sensible but in fact it robs you of
>> important capabilities. It essentially forces you to use grammars with
>> lookahead 1 for all input operations. Being able to peek forward into
>> the stream without committing to read from it allows you to e.g. do
>> operations like "does this stream start with a specific word" etc. As soon
>
> Broken sentence?
>

Sorry. Well it was nothing interesting anyway.

Andrei


More information about the Digitalmars-d mailing list