[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFA] Java skeleton

From: Paolo Bonzini
Subject: Re: [RFA] Java skeleton
Date: Tue, 27 Feb 2007 10:53:32 +0100
User-agent: Thunderbird (Macintosh/20061207)

Joel E. Denny wrote:
On Tue, 27 Feb 2007, Paolo Bonzini wrote:

Your Java skeletons do allow users to add members to the parser and lexer
classes, so it seems to me that you have much more to worry about.  I find
it hard to believe that you will never decide to add some new really useful
public method.
I find it hard that this wouldn't have been added already in the C skeleton.

Sorry, I'm not quite sure what you're saying.

I find it hard to think of one more function that would be added and not be under the control of a % directive.

But if the Bison user defines his own class to wrap the parser class (like the parser driver), he can create whatever interface he likes for the parser user.

I think if we can live without the parser driver, it is better (and the fact that Java uses only virtual methods makes me believe this is the case). I don't know of other parser generators for Java that require a parser driver.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]