Is it possible to have antlr generate parsers from more than one grammar file at one time?

Terence Parr

No. ANTLR will only generate parsers from grammars in a single file. If you need multiple grammars across multiple files to share vocabularies, then use importVocab and exportVocab options to persist the vocabulary across ANTLR invocation.s