bradley499 / laturon

The Laturon programming language interpreter (and IDE).

Home Page:https://bradley499.github.io/laturon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subtraction is incorrect for multiple values.

bradley499 opened this issue · comments

If you try to perform 5 - 4 - 3 the answer should be -2, but instead is 4, this is because the way the stack based mathematical operations occur, it does 4 - 3 which is 1 then 5 - 1 which gives the answer of 4.