std.experimental.xml available on DUB

Robert burner Schadek via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 3 13:57:40 PDT 2016


On Wednesday, 3 August 2016 at 09:04:30 UTC, Jacob Carlborg wrote:
> Another question. I see that there are a couple of different 
> lexers available. Can those be exposed with the same 
> interface/type instead of using different types? Perhaps based 
> on the input type.

Well, currently you have to make that choice as developer, and 
there is always the BufferedLexer which should be good choice is 
most cases. Polymorphic design was not a goal of the project, so 
I think it is going to be hard to add that without sacrificing to 
much.




More information about the Digitalmars-d-announce mailing list