kjParser Problem
Glen Starchman
glen at electricorb.com
Wed Feb 2 07:53:41 EST 2000
I am having a horrible time with the following in kjParser and am
wondering if a) anyone has any suggestions on how to make it work with
kjParser, or, b) if anyone suggests that I dump my kjParser-based parser
and untilize SPARK.
The problem is this: I have a production for invoking a member function
of a class that looks like (excuse the sloppy rules, it was written very
quickly):
@R InvokeRule :: Value >> var => var called_with_statement
@R CalledWithRule :: called_with_statement >> args
@R CalledWith2Rule :: called_with_statement >>
so, this will match:
x=> y()
or
x => y
or x => y
but not
x=y()
any ideas? Any help is GREATLY appreciated!
More information about the Python-list
mailing list