"if" in PIR
chromatic
chromatic at wgz.org
Mon Nov 10 23:03:26 UTC 2008
On Monday 10 November 2008 18:09:21 Vadim Konovalov wrote:
> Why a simple syntax sugar is not invented to introduce a couple of
> macro-like straightforward expansions
>
> if COND {
> }
>
> transform to
>
> unless COND goto AUTOGEN_LABEL_XXX
> .....
> AUTOGEN_LABEL_XXX:
That moves PIR further away from a labeled, line-oriented assembly language.
I'm not saying that's good or bad, but it's a big change.
-- c
More information about the parrot-dev
mailing list