Hi Paul,

The code looks wrong. If pop-backtrack takes a vm instance, what does
terminate-vm receive?

Slava

On Thu, Oct 15, 2009 at 4:51 PM, Paul Moore <[email protected]> wrote:
> When I'm updating some code from an older version of Factor, I get the
> error "the recursive word loop digs arbitrarily deep into the stack".
> The code in question is
>
> : pop-fails ( vm -- vm )
>  [ dup pc>> fail = ]
>  [ pop-backtrack [ do-backtrack ] [ terminate-vm ] if* ]
>  while
> ; inline
>
> As far as I can tell, the stack effects are correct. I'm not sure I
> follow what the error is trying to tell me. Can anyone clarify?
>
> Thanks,
> Paul.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to