CTFE Status 2

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 17 05:55:22 PDT 2017


On Thursday, 16 March 2017 at 14:48:22 UTC, Stefan Koch wrote:
> As soon as array-length assignment (and therefore expansion) is 
> working again;
> You can start writing fast compile-time parsers.

Though for AST one would need unions, like
struct Node
{
   int type;
   union
   {
     StringLiteral str;
     NumberLiteral num;
     ExpressionNode expr;
   }
}


More information about the Digitalmars-d mailing list