Closed andreasabel closed 4 years ago
what would be the right name for the package? mygrammar
or my_grammar
? or just forbid the generation of the java code at all?
Following https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html it seems that snake_case is the convention.
If my input is
my-grammar.cf
, bnfc will create java code with package namemy-grammar
which is not legal.