Pop3 connection with D

janderson askme at me.com
Thu Mar 8 23:25:12 PST 2007


Sean Kelly wrote:
> Andrei Alexandrescu (See Website For Email) wrote:
>>
>> Stepping through was of course possible and useful. The main 
>> difference was that stepping through manually-written code was 
>> replaced by stepping through the more compact templated code. The 
>> instantiation types are different and therefore different actual 
>> binary code maps to the same source line.
> 
> It sounds like you're describing debugging C++ template code.  Would the 
> same thing be possible with code generated from strings in D via mixin? 
>  I suppose the compiler could output source files to pair with the 
> object files, but beyond that I don't see how this could be done.
> 
> 
> Sean

Its the same with any DSL compile-time or not.  You simply need to crate 
your own system to do it.  Most DSLs I've used (lua, shader lanaguages, 
script languages, xml) have done that.  Its not difficult.  It would be 
nice if the DSL helper library had some helpers for it though.

-Joel



More information about the Digitalmars-d mailing list