Request for comments: std.d.lexer

Brian Schott briancschott at gmail.com
Sun Jan 27 13:39:13 PST 2013


On Sunday, 27 January 2013 at 19:46:12 UTC, Walter Bright wrote:
> 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.

The file name is accepted for eventual error reporting purposes. 
The actual input for the lexer is the parameter called "range".

Regarding the times that I posted, my point was that it's not 
slower than "dmd -c", nothing more.


More information about the Digitalmars-d mailing list