On 2/9/13 10:37 AM, Jacob Carlborg wrote:
On 2013-02-09 16:10, Andrei Alexandrescu wrote:
Requiring a random-access range of ubyte with a terminating zero may be
the most general approach to a fast lexer - and that's fine.
Requiring a random-access range probably makes it easier. People here
seems to try to support ranges with less functionality, like input or
forward ranges.
Yah. The way I see it is, start with a random-access range and then see
what the use patterns are. Then possibly refine.
Andrei