The python program accepts two arguments of the .output file that is to be analized and an optional text file which identifies the substitution items for the output merr.txt file. It will use this file to determine all possible syntax errors in the grammar it contains, and it will produce a merr.txt file. Each of these error messages can be customized to communicate the nature of the error. The substitution file is a text file where each line is in the form: token:substitute text Use: python GramAnalysis.py <.output file> or python GramAnalysis.py <.output file>