Jeremy McAnally wrote:
> Then you're introducing a big chunk of parser ambiguity.  For example
> 
>     if a == b then puts "hello"; puts "world"    # end implied
> 
> Do you mean if a==b puts "hello" *AND* puts "world" or should you
> output "hello" if it's true and "world" no matter what.

I meant it would be equivalent to

  if a == b; puts "hello"; puts "world"; end

(I thought I wrote that out in full)

> That would
> put a big load on the parser to figure out the different between the
> different line delimiters and how that impacts the code around it.

If the rules are clearly defined, parsers are easy to write. It's 
certainly much clearer than many of the existing Ruby parsing rules :-)
-- 
Posted via http://www.ruby-forum.com/.