start porting to ANTLR 4.