SyntaxAnalysis教学幻灯片讲义.pptxVIP

  • 3
  • 0
  • 约4.77千字
  • 约 85页
  • 2018-02-27 发布于天津
  • 举报
;;;;;;w h i l e;w h i l e;;;Main Content of Parsing Study;;Scanning vs. Parsing;E.R vs. CFG;Example:;The Parsing Process;Error Handling of Parser Error Recover Report meaningful error messages and resume the parsing as close to the actual error as possible(to find as many errors as possible) Error repair Infer a possible corrected code version from the incorrect version presented to it(This is usually done only in simple cases);Interface of the parser Input: The parser calls a scanner procedure to fetch the next token from the input as it is needed during the parsing process

文档评论(0)

1亿VIP精品文档

相关文档