On Friday, 17 March 2017 at 12:55:22 UTC, Kagamin wrote:
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;
  }
}
You might as well replace union with struct here.


Reply via email to