buffered input

Tomek Sowiński just at ask.me
Sat Feb 5 09:59:33 PST 2011


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?



More information about the Digitalmars-d mailing list