Send the term generator to the parser instead of saving terms to memory