[grammarians] ambiguity with method call?
Terence Parr
parrt at cs.usfca.edu
Thu Dec 1 16:57:49 EST 2005
On Dec 1, 2005, at 11:07 AM, MenTaLguY wrote:
> On Thu, 2005-12-01 at 17:19 +0000, yawl.20481481 at bloglines.com wrote:
>> I have solved a similar issue(see http://seclib.blogspot.com/
>> 2005/11/more-on-leftshift-and-heredoc.html
>> ) and the same rules apply in this case.
>
> Interesting. In the heredoc case, you've basically got to distinguish
> between unary and binary uses of <<.
>
> Do you have a partial ANTLR grammar together, out of curiosity?
>
> I'd be interested to see what you and Ter each have at this point.
I have nothing interesting yet, though it does parse some stuff.
I've not recovered from seeing the "warts" or ruby yet. I'm also
trying to use ANTLR v3, which of course I'm doing to find some bugs.
Also i'll need syntactic predicates in v3 for ruby which I don't have
yet.
Ter
More information about the Rubygrammar-grammarians
mailing list