Syntax parsing (BNF, code generators, etc)

Is it important that the parsing is done is Scala or is it OK with a Java-framework, like https://www.antlr.org/, which produces java-code ?