From: Hal Fulton Date: 2004-10-12T13:03:19+09:00 Subject: Re: Ruby Directions (was Re: quality of error messages) Markus wrote: >>PS: I still like the other idea (end [(module|class|def) []]) >>better. =) > > > I have not been able to assure myself that this could be done > without breaking anything (or at least, be done by me). I can see how > to do it, but I am just rusty enough on the guts of LR(1)/LALR(1) > parsers to be uneasy with the potential for conflicts. > > Would you like me to pursue the idea? (With the caveat that my > experiments are for our enlightenment, and not meant to be > shaping/forcing ruby's development in any way that it does not wish to > go.) I believe this would be a step into history. IIRC Ruby used to have such end markers (before the 'if' modifier and such were added). Of course, sometimes a return to former practices is good... but there might be syntax complications. Hal