Grammar Analysis and Parsing