Revising. It is not only reimplementing Grunt in ANTLR, but also
merging GruntParser with QueryParser.