New version of JavaCC uploaded

View: New views
4 Messages — Rating Filter:   Alert me  

New version of JavaCC uploaded

by Paul Cager-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have uploaded a new release of JavaCC 5.0 to the Documents and Files
secion. This fixes a rather embarrassing problem with the previous release
where the "bin/javacc.bat" file was missing.

Sorry for the inconvenience.

Cheers,
Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Token Interface and JFlex

by Bill Fenlason :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I also would like to vote for getting rid of the "wired in" access to
the Token class, and think providing an IToken interface would be better.

I used JavaCC and a JFlex generated scanner in my PL/I Eclipse plugin.  
I have not seen the JavaCC / JFlex combination mentioned in this forum
and don't know if it is common.  In my case, several reasons made it an
effective solution.  PL/I has hundreds of keywords (1200+ line lex file)
and I had a flex definition file to start with, scanning and parsing run
in different threads, etc.  (details on request)

Some tinkering was necessary to make it work, and I believe the task
would have been a bit easier if an IToken interface had been used by the
generated code.  Are there currently any plans to move in that direction?

Bill Fenlason



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Token Interface and JFlex

by Paul Cager-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I also would like to vote for getting rid of the "wired in" access to
> the Token class, and think providing an IToken interface would be better.
>
....

> Some tinkering was necessary to make it work, and I believe the task
> would have been a bit easier if an IToken interface had been used by the
> generated code.  Are there currently any plans to move in that direction?
>
> Bill Fenlason


Yes, modernising JavaCC is probably high on the "to do" list. There are
also two forks of JavaCC with a more modern API (but not backwards
compatible):

https://javacc.dev.java.net/servlets/ReadMsg?list=users&msgNo=2923

and

KawaDD.

Cheers,
Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Token Interface and JFlex

by J.Chris Findlay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

KawaDD is now known as FreeCC I believe.

On Tue, Oct 27, 2009 at 10:45 AM, Paul Cager <paul-debian@...> wrote:
> I also would like to vote for getting rid of the "wired in" access to
> the Token class, and think providing an IToken interface would be better.
>
....

> Some tinkering was necessary to make it work, and I believe the task
> would have been a bit easier if an IToken interface had been used by the
> generated code.  Are there currently any plans to move in that direction?
>
> Bill Fenlason


Yes, modernising JavaCC is probably high on the "to do" list. There are
also two forks of JavaCC with a more modern API (but not backwards
compatible):

https://javacc.dev.java.net/servlets/ReadMsg?list=users&msgNo=2923

and

KawaDD.

Cheers,
Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--
- J.Chris Findlay
  (c: