【24h】

Columbus Schema for C/C++ Preprocessing

机译:C / C ++预处理的哥伦布架构

获取原文

摘要

File inclusion, conditional compilation and macro processing has made the C/C++ preprocessor a powerful tool for programmers. However, program code with lots of directives often causes difficulties in program understanding and maintenance. The main source of the problem is the difference between the code that the programmer sees and the preprocessed code that the compiler gets. To aid program comprehension we designed a C/C++ preprocessor schema (supplementing the Columbus Schema for C++) and implemented a preprocessor which produces both preprocessed files and schema instances. The instances of the schema may be used to model: (1) preprocessor constructs in the original source code, (2) the preprocessed compilation unit, and (3) the transformations made by the preprocessor.
机译:文件包含,条件编译和宏处理使C / C ++预处理器成为程序员的强大工具。但是,具有大量指令的程序代码通常会导致程序理解和维护中的困难。问题的主要来源是程序员所看到的代码与编译器获取的预处理代码之间的差异。为了援助程序理解,我们设计了C / C ++预处理器架构(为C ++提供了Columbus Schema),并实现了一个预处理器,它产生了预处理的文件和架构实例。架构的实例可以用于模拟:(1)原始源代码中的预处理器构造,(2)预处理的编译单元,以及(3)由预处理器进行的变换。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号