Idea for a new tool

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 14 09:38:52 PDT 2016


On Friday, 14 October 2016 at 13:13:16 UTC, Andrei Alexandrescu 
wrote:
> https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei

I have been working on this.
What this amounts to is an AST-writeout using the HdrGen.
This will affect the code in so far as it will be lowerd my the 
dmd frontend.

I have hit problems with massive template recursion.
I am working on ways to fix it.
(with a __symbol pseudo type which allows to turn recursion into 
iteration, and removes the significant template-instanciation 
overhead)


@Nordlöw
Looking at this PR is very good place to start.
https://github.com/dlang/dmd/pull/426
It should be rather easily portable to ddmd.



More information about the Digitalmars-d mailing list