implementing parsing an ANTLR parser grammar file to be used for generating potential programs