Just like in Python, Corth should allow while <cond> do <code> else <code> end statements where the code after the else keyword is run only if the while-do loop is not broken with break. This will be very easy to implement as compiler creates a label for that purpose already.
Just like in Python, Corth should allow
while <cond> do <code> else <code> end
statements where the code after theelse
keyword is run only if thewhile-do
loop is not broken withbreak
. This will be very easy to implement as compiler creates a label for that purpose already.