Request for comments: std.d.lexer
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Feb 9 07:46:15 PST 2013
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
More information about the Digitalmars-d
mailing list