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

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.