Is recursion unwound?
Posted: 3 Sep 2014 0:40
Hi,
Does the VP7 compiler unwind recursion internally or convert it to branches? For example, if I have the following code:
Is the recursion converted to a branch or could this code potentially trigger a stack overflow if enough "wrong" inputs were entered?
Does the VP7 compiler unwind recursion internally or convert it to branches? For example, if I have the following code:
Code: Select all
pester() :-
write("Say uncle: "),
I = readLine(),
if I <> "uncle" then pester end if.