418-897 lines of TermParser.jj implemented plus some other methods