A close relative of python does this: <dtml-in getLines> <dtml-var sequence-item> </dtml-in> Roy Smith <roy at panix.com> wrote in message news:roy-8B6536.22174906042001 at news.panix.com... > 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? The really nice thing about it is that it's easy to > parse, so implementing smart syntax-coloring editors should be a snap. > Doesn't use either semicolons or whitespace, so it should offend equally > people from varied backgrounds :-)
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