On Thu, Nov 13, 2008 at 08:58, Will Coleda <[EMAIL PROTECTED]> wrote:

> On Thu, Nov 13, 2008 at 11:36 AM, Allison Randal <[EMAIL PROTECTED]>
> wrote:
> > Last I checked, those macros were not stable (particularly when
> > embedding one control structure within another), and not recommended for
> > general use. That could have changed.
>
> I spent some time at last YAPC bringing them up to date and adding
> tests for them, so they are at least kind of stable.(please don't
> assume this means I necessarily want to keep them.)
>
> - If we need more test cases, let's add them;
> - if we want them to be just an example, let's move them
> - if we want to discourage this kind of approach entirely, let's
> delete them. (or make an example of them as above, but with a warning
> in the docs.)
>
> the nesting problem allison describes is due to incomplete or incorrect
implementation of macro-local variables (variables for use strictly within
macro bodies). i remember discussion on this topic some time ago, but i
don't recall the current status. if we have macro-local variables, then we
should be able to modify the hllmacro bodies to properly support nesting. at
that point, i think they're helpful enough to keep around, and should be
available for use by pir developers.

~jerry
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to