grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

Java 17 support

Open Clashsoft opened this issue 4 years ago • 4 comments

Java 17 is the latest long-term support release. A number of language features were added that should be supported in the grammar.

  • [ ] Switch Expressions
  • [ ] Text Blocks
  • [ ] Records
  • [ ] Pattern Matching for instanceof
  • [ ] Sealed Classes (sealed and non-sealed keywords)
  • [ ] Pattern Matching for switch expressions and statements

https://docs.oracle.com/en/java/javase/17/language/java-language-changes.html

Clashsoft avatar Oct 12 '21 09:10 Clashsoft

When is this likely to get done!

omegaui avatar Dec 27 '21 16:12 omegaui

When is this likely to get done!

soon

mlorek avatar Dec 29 '21 13:12 mlorek

hi mlorek i dont know how github works for now. is java 17 grammar completed where can i see it? thanks a lot.

esoftGithub avatar Oct 29 '22 13:10 esoftGithub

hi mlorek i dont know how github works for now. is java 17 grammar completed where can i see it? thanks a lot.

https://github.com/antlr/grammars-v4/blob/master/java/java/JavaParser.g4#L6

mlorek avatar Nov 01 '22 08:11 mlorek