Grammar is from http://www.antlr.org/grammar/HTML How to compile it, can anyone say me step by step? antlrworks-1.4.jar say error for "class HTMLParser extends Parser;"