If the previous rule does not solve the problem, and there exists a filed in the production for which no attributes have been specified, and this field has the same name as the attribute for which the definition is missing, this filed is taken as the value to be usedfor thi attribute. An Example Language We have developed a compiler for a small language in a stepwise fashion. You can find the description of the language and the associated files here. The error messages are generated in a rather generic way. We hope they are self-explaining.
Some further work needs to be done on making the system continue once an error was reported.