计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2013年
3期
61-64
,共4页
CoSy%CoSy中级中间表示%编译器开发环境%cgd文件%DFG%中间代码优化%窥孔优化
CoSy%CoSy中級中間錶示%編譯器開髮環境%cgd文件%DFG%中間代碼優化%窺孔優化
CoSy%CoSy중급중간표시%편역기개발배경%cgd문건%DFG%중간대마우화%규공우화
CoSy%CCMIR( common CoSy medium-level intermediate representation)%compiler development environment%cgd file%DFG%intermediate language code optimization%peep hole optimization
鉴于编译器在系统开发中日趋重要的地位和CoSy在编译器开发中的良好应用前景,文中引入并介绍了基于CoSy的编译器开发的整体流程,并且指出了开发过程中遇到的重点问题和难点问题.文章对编译器开发的主要工作和内容进行介绍,对编译过程进行详细分析,其中对编译器中间代码的优化进行了详细讲解,对窥孔优化思想做了详细介绍.最后,在文章末尾引入具体的开发实例并且结合窥孔优化思想进行具体分析,从而更好地体现基于CoSy的编译器开发方法的优势.
鑒于編譯器在繫統開髮中日趨重要的地位和CoSy在編譯器開髮中的良好應用前景,文中引入併介紹瞭基于CoSy的編譯器開髮的整體流程,併且指齣瞭開髮過程中遇到的重點問題和難點問題.文章對編譯器開髮的主要工作和內容進行介紹,對編譯過程進行詳細分析,其中對編譯器中間代碼的優化進行瞭詳細講解,對窺孔優化思想做瞭詳細介紹.最後,在文章末尾引入具體的開髮實例併且結閤窺孔優化思想進行具體分析,從而更好地體現基于CoSy的編譯器開髮方法的優勢.
감우편역기재계통개발중일추중요적지위화CoSy재편역기개발중적량호응용전경,문중인입병개소료기우CoSy적편역기개발적정체류정,병차지출료개발과정중우도적중점문제화난점문제.문장대편역기개발적주요공작화내용진행개소,대편역과정진행상세분석,기중대편역기중간대마적우화진행료상세강해,대규공우화사상주료상세개소.최후,재문장말미인입구체적개발실례병차결합규공우화사상진행구체분석,종이경호지체현기우CoSy적편역기개발방법적우세.
In view of the compiler in system development is the important position and the good application prospect of CoSy in compil-ers,introduce and propose the CoSy compiler based on the development of the whole process and point out the keys and difficulties of the development process. The compiler development work and the main content is introduced. Analyze the compile process in detail,including among the compiler code optimization for detailed explanation. Finally,introduce the development of specific end examples and combine peep hole optimization idea for specific analysis,and better reflect the advantages of the method based on the CoSy compiler develop-ment.