Compiler concept

bauss (wtf happend to my name took some old cached title LOL??) via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 13 13:40:01 PST 2016


On Tuesday, 13 December 2016 at 12:58:42 UTC, Swoorup Joshi wrote:
> On Tuesday, 13 December 2016 at 01:03:54 UTC, Ignacious wrote:
>> Would it be difficult to implement the following, or something 
>> with similar capabilities, as a patch to dmd?
>>
>> [...]
>
> Isn't this what string mixin is for

Not really, since you don't get a tree of each expression nodes. 
It's more like macros. Pretty similar to what Nim does.

http://nim-lang.org/docs/macros.html


More information about the Digitalmars-d mailing list