Modify ↓

#24926 new task

Update to JavaCC 8

Reported by: gaben Owned by: team
Priority: normal Milestone: Longterm
Component: Core Version:
Keywords: javacc8 Cc: GerdP

Description

The parser development is moved to version 8, which was released around 2021.

Differences between v8 versus v7: very small at the grammar level, more important at the generated sources level:

  • the JavaCC/JJTree grammar part is the same
  • most of JavaCC/JJTree options should be the same, but some may be removed and others appear in v8
  • the Java grammar part should be nearly the same (may be some Java 7 & Java 8 features will appear in v8 and not in v7); in the future Java 11..17..21.. features would appear only in v8)
  • the C++ / C# grammar parts may be somewhat different
  • some generated files are not much different, others are (the token manager is token driven)

​https://javacc.github.io/javacc-8/

I need to test, but probably newer APIs are already available in the generated code.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to gaben.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.