From: Albert Schlef Date: 2009-03-27T01:51:19+09:00 Subject: Re: Writing a language converter in Ruby ? Brian Candler wrote: > 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. > [snip] > Presumably, TXL's language *requires* a rule body followed by end. But I was not talking about TXL. I was talking about Treetop (http://treetop.rubyforge.org/). -- Posted via http://www.ruby-forum.com/.