From: Austin Ziegler Date: 2005-10-14T03:38:10+09:00 Subject: Re: Default argument values for blocks On 10/13/05, Phil Tomson wrote: > While I tend to agree that there are probably much better parser > generators available now like ANTLR or even using a Ruby-based one like > Rockit, I can understand the hesitation to change from yacc. It's a > huge amount of work for one, and there would need to be a lot of > testing to ensure that nothing has broke. I suspect that a change from > yacc to another parser generator would delay Ruby2.0 by at least > several months. Maybe that would be OK. Perhaps there would be other > advantages gained by moving away from yacc that would help justify > doing so? > > I'm still in the "It might be a nice feature to have, but it's not > really needed enough to justify the kinds of changes being suggested" > category. I'm suggesting that it may be time for a parser change because the proposed language changes IMO are really really really ugly -- and I'd rather see: foo = lambda { |foo = 1 | 2| puts foo } work than not. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca