On Sun, 28 Jan 2001, Harry Ohlsen wrote:

> While it's nice that you can do this, can someone explain why it is
> that the Ruby parser can't work out that a statement is not finished,
> as, say, a C++ or Java parser can?

Very simple - C++ and Java make you end every statement with a semicolon.
This makes parsing much *easier* for them - Ruby has to do a little more
work, but it can't read your mind...