CoSy是ACE公司开发的编译器构造框架[1].它提供共享工具和引擎来构造编译器,编译器开发者只专注于目标机相关代码的开发.CoSy框架生成的编译器具有可扩展性和可移植性.可以根据目标机的机器特性定制具有高质量的编译器.通过研究CoSy编译框架,提出了针对某一DSP设计C编译器的设计方案,并开发了一个具有基本功能的C编译器.%CoSy is a compiler construction framework developed by the company of ACE.It provides a shared tools and engines to construct a compiler and the compiler developers only focus on the development of the codes what is related to target machine.The compiler generated by the CoSy framework has the scalability and portability.The quality of the compiler can be customized according to the characteristics of the machine of target machine having.Through researching the CoSy compiler framework,we proposed a design schedule for C compiler based on a DSP,and developed a C compiler with the basic characteristics.
展开▼