[grammarians] shortcut to self.class ?
mental@rydia.net
mental at rydia.net
Mon Dec 19 15:21:24 EST 2005
Quoting Daniel Schierbeck <daniel.schierbeck at gmail.com>:
> >> class.some_method # legal
> >> class # illegal, or rather, creates a new class
> >
> > +1, but I wonder if this may be a limitation of the parser
>
> Probably. I'm getting a bit fed up with the current parser, it
> seems to kill off a lot of good ideas. What's the status on that
> new ANTLR grammar?
Ter's still learning Ruby and I'm still learning ANTLR.
-mental
More information about the Rubygrammar-grammarians
mailing list