>>>>> "R" == Robert Klemme <bob.news / gmx.net> writes:

R> do
R>  ...
R> while foo > 0

R> But then again, I can't estimate how hard this would be for the parser...

 One day I've written a stupidity like this

svg% cat b.rb
#!./ruby
class A
   def do(a, b)
      puts "method A#do"
   end

   def toto(a = 3, d = a + 2)
      self.do(1, 2)
      do (a = 12)
         [['a', 'b'], ['c', 'd']].each do (a ; d = a)
            d += 1
            p "#{a} -- #{d}"
         end
         p "#{a} -- #{d}"
      end
      p "#{a} -- #{d}"
   end

end

A.new.toto
svg% 

svg% ./b.rb
method A#do
"ab -- 13"
"cd -- 13"
"12 -- 5"
"3 -- 5"
svg% 


 I'll try to add 'do ... while' to have 4 `do' rather than only 3 ;-)



Guy Decoux