|multiple entry points in yacc grammer firstname.lastname@example.org (1996-04-19)|
|Re: multiple entry points in yacc grammer Xtofd@aol.com (1996-04-29)|
|From:||email@example.com (Naresh Bhatia)|
|Date:||19 Apr 1996 12:18:45 -0400|
|Organization:||NETCOM On-line Communication Services (408 261-4700 guest)|
Can a yacc grammar have multiple entry points? For example, if I have
a grammar that can parse C++ method declarations, can I use it to
parse standalone method parameters? The knowledge of parsing the
parameters is obviously embedded in the method parser, so how to use
this knowledge to parse the parameters alone?
Any help would be greatly appreciated.
[No, but you can fake it. Some of the commercial versions have multiple
entry points. -John]
Return to the
Search the comp.compilers archives again.