Updated Grammar to final project through semantic analysis