A digital presentation technology that manages anything from text to full-motion video has the potential of expanding the usefulness of personal computers, while rendering them less intimidating.
A procedure is described for augmenting a Simple LR(k) parser with new states which enable the extended parser to continue parsing the input after an error is detected. Examples of the error recovery technique are given.
A simple method is described enabling simple precedence parsers to recover from syntax errors. No attempt to repair errors is made, yet parsing and most semantic processing can continue. The result is a good “first approximation” to syntax error handling with negligible increase in parsing time, space, and complexity of both the parser and its… (More)