If my input is `my-grammar.cf`, bnfc will create java code with package name `my-grammar` which is not legal.
Activity
EncodePanda commentedon Aug 15, 2018
what would be the right name for the package?
mygrammarormy_grammar? or just forbid the generation of the java code at all?andreasabel commentedon Jan 4, 2020
Following https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html it seems that snake_case is the convention.
Fix #455: Java/ANTLR: Capital name for Lexer and Parser
Fix #455: Java/ANTLR: Capital name for Lexer and Parser