Closed xyproto closed 12 years ago
Hi.
3+3
is parsed as 3 +3
, i.e. two times the number 3.
Likewise, +3+3
is parsed as +3 +3
.
If you'd like to see infix addition in Wat, this will never happen, sorry.
Hi, wasn't looking for infix addition, just wondered why it didn't give an error. Thanks for the explanation.
Hi,
(+ 3 3) works as expected. However, 3+3 gives the answer 3 and +3+3 also gives the answer 3.
Is this on purpose?
Best regards, Alexander Rødseth