Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If my input is my-grammar.cf, bnfc will create java code with package name my-grammar which is not legal.
my-grammar.cf
my-grammar
The text was updated successfully, but these errors were encountered:
what would be the right name for the package? mygrammar or my_grammar? or just forbid the generation of the java code at all?
mygrammar
my_grammar
Sorry, something went wrong.
Following https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html it seems that snake_case is the convention.
f4e3f48
andreasabel
No branches or pull requests
If my input is
my-grammar.cf
, bnfc will create java code with package namemy-grammar
which is not legal.The text was updated successfully, but these errors were encountered: