用于C语言的错误处理预编译器  被引量:2

Precompiler handling errors for C language

在线阅读下载全文

作  者:施海昕[1] 佘堃[1] 

机构地区:[1]电子科技大学计算机科学与工程学院,四川成都610054

出  处:《计算机应用》2005年第10期2453-2455,共3页journal of Computer Applications

摘  要:根据编译原理,设计并实现了一个用于C语言的错误处理预编译器。通过扫描程序代码,它可以找到特定格式的注释,并从中提取错误名称、错误信息和错误号,最终生成对应的错误处理代码。这个预编译器改进了C语言错误处理机制,提高了软件开发效率。According to the principle of compiling, a precompiler handling errors for C language was designed and realized. Through scanning the source code, it can could find the specific format comments, and get error names, error messages and error numbers from them. Finally it generates generated the corresponding source codes handling errors. The precompiler improved improves the mechanism of handling errors in C language, and increased increases software development efficiency.

关 键 词:有限自动机 状态转换图 词法分析 语法分析 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象