On Fri, Oct 16, 2009 at 3:52 AM, Paul Moore <[email protected]> wrote:
> pop-backtrack has stack effect ( vm -- vm backtrack_or_f ),
> do-backtrack has stack effect ( vm backtrack -- vm ) and terminate-vm
> has stack effect ( vm -- vm ). So, the if* quotation ends up with
> stack effect ( vm -- vm ) as I understand it (and I am pretty sure I
> checked that with .infer, but I don't have the code to hand right now
> to reconfirm). I'm not convinced the style is sensible, but I'm
> planning to fix that later.

Can you post your entire program?

As a matter of style, we write words that consume their arguments. So
at some point you might want to try changing those words to not return
a vm.

Glad to hear you're working on the LPEG interpreter again, I'd love to
try optimizing it at some point.

Slava

------------------------------------------------------------------------------
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