Assign as an expression

Is it correct that in TinyC, Assign is treated as an (binary) expression, not a statement?

If so, is it still correct to print this part of the AST as Assign[...] and not Binary_=[...] as shown in the example output on the specification?


Yes, like in C, assignments are expressions in TinyC.

The assignment should be Binary_= for instance
Binary_=[Var_a, Const_42] for a=42 (as shown in
There is a typo in the project description. We will fix it.
Thank you for bringing it up.

Edit: The typo in the project description is now fixed.