The parser cache added to avoid generating the grammar each time.