What library functionality would you most like to see in D?

Johann MacDonagh johann.macdonagh.no at spam.gmail.com
Mon Aug 1 14:14:19 PDT 2011


On 7/31/2011 11:32 PM, Walter Bright wrote:
> On 7/31/2011 6:29 PM, Johann MacDonagh wrote:
>> Basically, you give it some string (string, wstring, or dstring), and
>> it gives
>> you a range of tokens back. The token has the type, a slice of the
>> input that
>> corresponds to the token, line / column, and a value (e.g. an integer
>> constant).
>
> I suggest making the input a range.

So, the reason I didn't do this initially was to make slicing a lot 
easier. It could easily be changed to any kind of input range of 
characters. However, it looks like something that's not a direct port of 
DMD isn't worthwhile.


More information about the Digitalmars-d mailing list