Added script for generating grammar description class
Fixed case where the statement can be successfully parsed but there are extra tokens that don't comply with the grammar