After Parrot, what next?

Grant Griffin not.this at seebelow.org
Mon Apr 9 22:42:16 EDT 2001


Roy Smith wrote:
> 
> A bunch of us were discussing the new Parrot syntax (i.e things like
> "left_angle_bracket_right_angle_bracket") today and came up with a great
> idea for a new language syntax, which mixes the best ideas of Parrot and
> XML.  Instead of:
> 
>    for line in sys.stdin.getlines():
>       print line
> 
> or
> 
>    while (<>) {
>       print;
>    }
> 
> you'd do:
> 
>    <for>
>    <controlvariable>line</controlvariable>
>    <iteratorlist>getlines</iteratorlist>
>    <body>
>    <statement>
>    <print>line</print>
>    </statement>
>    </body>
>    </for>
> 
> So, what'ya think?  

For the benefit of Ruby fans, I think you should replace "/" with "end
".

and-let's-call-it-"Ruby-Red-Budgie"-<wink>-ly y'rs,

=g2
-- 
_____________________________________________________________________

Grant R. Griffin                                       g2 at dspguru.com
Publisher of dspGuru                           http://www.dspguru.com
Iowegian International Corporation            http://www.iowegian.com



More information about the Python-list mailing list