Request for comments: std.d.lexer

Dmitry Olshansky dmitry.olsh at gmail.com
Sun Jan 27 12:11:18 PST 2013


27-Jan-2013 23:46, Walter Bright пишет:
> On 1/27/2013 1:51 AM, Brian Schott wrote:
>> I'm interested in ideas on the API design and other high-level issues
>> at the
>> moment. I don't consider this ready for inclusion. (The current module
>> being
>> reviewed for inclusion in Phobos is the new std.uni.)
>
> Just a quick comment: byToken() should not accept a filename. It's input
> should be via an InputRange, not a file.

InputRange of char/wchar/dchar I guess as lexer should have an ability 
to avoid decoding.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list