DCT: D compiler as a collection of libraries

Roman D. Boiko rb at d-coding.com
Tue May 15 02:43:31 PDT 2012


On Tuesday, 15 May 2012 at 09:33:31 UTC, deadalnix wrote:
> Le 14/05/2012 21:21, Roman D. Boiko a écrit :
>> Just to clarify: different modes in lexer in my view are like 
>> two
>> different implementations combined in a non-trivial way (unless
>> the difference is minor). So complexity goes from two factors:
>> different implementations and how to combine them. I try to 
>> avoid this.
>
> If both have the same interface, metaprograming can do the 
> magic for you.

Well, I didn't state that there is no way to solve the issue.
Also I added "unless the difference is minor".


More information about the Digitalmars-d-announce mailing list