[grammarians] shortcut to self.class ?
Terence Parr
parrt at cs.usfca.edu
Tue Dec 20 16:07:06 EST 2005
On Dec 19, 2005, at 12:21 PM, mental at rydia.net wrote:
> 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.
Yeah, it may be awhile before I have enough time to learn ruby
sufficiently to parse it. It's a very complicated language when you
peer into the edge cases. Makes python look simple. :(
Ter
More information about the Rubygrammar-grammarians
mailing list