From: Brian Candler Date: 2009-03-24T19:21:07+09:00 Subject: Re: Writing a language converter in Ruby ? Albert Schlef wrote: > That's interesting. I see that their DSL looks like: > > rule additive > multitive '+' additive / multitive > end > > Do you notice? There's "end" there but no "do"! How is it possible? Because it's not Ruby. In Ruby, blocks are optional after a method call. Both these are legal: (1) foo (2) foo do ... more stuff end Presumably, TXL's language *requires* a rule body followed by end. -- Posted via http://www.ruby-forum.com/.