std.d.lexer requirements

Walter Bright newshound2 at digitalmars.com
Thu Aug 2 00:21:23 PDT 2012


On 8/1/2012 11:59 PM, Jacob Carlborg wrote:
> Your first requirement is a bit strange and confusing:
>
> "1. It should accept as input an input range of UTF8."
>
> To my understand ranges in Phobos are designed to operate on dchars, not chars,
> regardless of the original input type. So if you can create a range that
> operates on UTF8 I don't know if that will be usable with the rest of the Phobos
> functions expecting ranges of dchars. Basically making this type of range
> useless since it cannot use any other functionality in Phobos.
>
> The current state of Phobos: you either have a range of dchars or you don't have
> a range, you have an array or something else.
>

I answered this point a few posts up in the thread.



More information about the Digitalmars-d mailing list