Correction of grammar rules and addition of syntax diagrams.