Superion icon indicating copy to clipboard operation
Superion copied to clipboard

Cannot generate GrammarSecondVisitor

Open roxaaams opened this issue 5 years ago • 3 comments

Hello,

I needed support of other input grammar, so I used this command: java -jar antlr-4.7.2-complete.jar -o path -visitor -no-listener -Dlanguage=Cpp Grammar.g4. Apparently, only the GrammarSecondVisitor, which is also used in the tree mutation strategy, was not generated.

Is there other way (which is not specified in the README file) to generate the second visitor for a grammar or is this implemented manually specifically to the given grammar?

Thanks!

roxaaams avatar Jul 30 '19 05:07 roxaaams

You could refer to #8 .

zhangysh1995 avatar Dec 30 '19 13:12 zhangysh1995

I run into the exactly same problem with this issue. #9 .

zhangysh1995 avatar Dec 31 '19 07:12 zhangysh1995

SecondVisitor is not directly from ANTRL. Check https://github.com/peng-hui/Superion

peng-hui avatar Mar 25 '21 16:03 peng-hui