corth-lang / Corth

A self-hosted stack based language like Forth
MIT License
7 stars 1 forks source link

`if-else` statements do not check for stack changes #22

Closed HuseyinSimsek7904 closed 9 months ago

HuseyinSimsek7904 commented 9 months ago

if-else statements do not check if the stack changes between the code blocks if-else and else-end. This is extremely problematic as not checking this may cause many stack problems.