Completed the grammar parsing (I think).