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