ANTLR v3 grammar for DM.