Enhancing parsers with ANTLR 4.