Modify ↓
Opened 111 minutes ago
#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)
Note:
See TracTickets
for help on using tickets.


