摘要
为解决RTI(运行时间基础设施)中FED(联邦执行数据)文件解析效率、可重用性问题,提出了应用编译原理中的词法分析和语法分析技术对FED文件进行解析的方法。根据RTI研发过程中FED文件解析的要求,对FED文件解析模块进行了研究,并设计出改进的FED文件解析程序的结构框架。在此基础上,给出了应用词法分析和语法分析技术解析FED文件的具体方案和实现过程,最后通过实例验证了基于词法和语法分析技术对FED解析的方案明显优于通常方案。
To solve the provlems of efficiency and reusability of FED file in RTI, an method is proposed, which takes the technologies of lexical analysis and syntax analysis in compiler construction principles to analyze FED file. Based on the requirements of developing RTI, the module of analyzing FED file is studied. And improved program framework of analyzing FED file is designed. Based on these, the specific solution and implemented procedure of analyzing FED file using lexical analysis and syntax analysis are provided. Finally, the application demonstrates that the solution based on the technologies of lexical analysis and syntax analysis is more effective than common solutions.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第9期2052-2056,2060,共6页
Computer Engineering and Design