- 1
- 0
- 约1.02万字
- 约 58页
- 2018-03-27 发布于未知
- 举报
出错处理 检查错误、报告出错信息、排错、恢复编译工作 出错处理(error handling)(error reporting and error recovery) The compiler should report the location of each error,together with some explanation. The major categories of compile-time error: syntax error, scope error, type error. After detecting and reporting an error,the compiler should attempt error recovery,means that the compiler should try to get itself into a state where analysis of the source program can continue as normally as possible. 编译程序结构(components) 词法分析程序 语法分析程序 语义分析程序 中间代码生成程序 代码优化程序 目标代码生成程序 符号表管理程序 出错处理程序 出 错 处 理 语法分析程序 语义分析程序 目标代码生成程序 词法分析程序 中间代码生成
您可能关注的文档
- 模拟导游教学课件作者第三版窦志萍教学课件7-第七章幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件7第七章节课件幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件8-第八章幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件8第八章节课件幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件12-第十二章幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件12第十二章节课件幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件14-第十四章幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件14第十四章节课件幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件15-2十五章-道教宫观导游幻灯片.ppt
- 模拟导游教学课件作者第三版窦志萍教学课件152十五章节道教宫观导游课件幻灯片.ppt
原创力文档

文档评论(0)