How can I dump an expression into log and execute it

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 13 08:11:08 PDT 2014


On Sunday, 13 July 2014 at 14:23:07 UTC, Timon Gehr wrote:
>> I am not saying it is insanely complicated but that it is not 
>> orthogonal
>> to existing features.  ...
>
> I am saying that string mixins are way too simple a feature to 
> meaningfully block the way for features that are "not 
> orthogonal" to them.

AST reflection + string mixins can do anything that AST macros 
can do - assuming one does not want to allow transparent macros 
(without explicit mixin/macro keyword at call site) which is a 
terrible idea in my opinion anyway.


More information about the Digitalmars-d mailing list