Expanded source code
    Paul D. Anderson 
    paul.d.removethis.anderson at comcast.andthis.net
       
    Thu Jun 18 15:26:12 PDT 2009
    
    
  
Paul D. Anderson Wrote:
> Is there a way to see the source for a D program after the mixins and templates, etc., are expanded?
> 
> I get occasional error messages saying I've got incompatible types, for example, but the error message only makes sense when I mentally instantiate a template. Is there a way to see this instantiation in print?
> 
> At what phase of compilation does this occur? Has the code been tokenized? (It's okay with me if it is--I just want to know.)
> 
> Paul
> 
Thanks for the help. So the short answer is no.
A related question: which D language constructs do (virtual) text substitution?
My list:
* alias
* mixin
* special tokens
* special token sequences
* templates
* template mixins
Are there others?
Paul
    
    
More information about the Digitalmars-d-learn
mailing list