Use consistent constructor names
We have:
-
AddOp
,SubOp
, etc for operators -
BinE
UnaryE
for some AST nodes, but also -
FuncExpr
for some others
I think I like the postfix style most, because it reads better
We have:
AddOp
, SubOp
, etc for operatorsBinE
UnaryE
for some AST nodes, but alsoFuncExpr
for some othersI think I like the postfix style most, because it reads better