A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/074087.html below:

After Parrot, what next?

After Parrot, what next? 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4