Movatterモバイル変換
[0]ホーム
After Parrot, what next?
Grant Griffinnot.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. Griffing2 at dspguru.comPublisher of dspGuruhttp://www.dspguru.comIowegian International Corporationhttp://www.iowegian.com
More information about the Python-listmailing list
[8]ページ先頭