Aspect mining in the presence of the C preprocessor
Proceedings of the 2008 AOSD workshop on Linking aspect technology and evolution
Can we refactor conditional compilation into aspects?
Proceedings of the 8th ACM international conference on Aspect-oriented software development
Combining preprocessor slicing with C/C++ language slicing
Science of Computer Programming
Optimizing header file include directives
Journal of Software Maintenance and Evolution: Research and Practice
CScout: A refactoring browser for C
Science of Computer Programming
A simple generic library for c
ICSR'06 Proceedings of the 9th international conference on Reuse of Off-the-Shelf Components
Do background colors improve program comprehension in the #ifdef hell?
Empirical Software Engineering
Hi-index | 0.00 |
File inclusion, conditional compilation and macro processinghas made the C/C++ preprocessor a powerful toolfor programmers. However, program code with lots of directivesoften causes difficulties in program understandingand maintenance. The main source of the problem is the differencebetween the code that the programmer sees and thepreprocessed code that the compiler gets. To aid programcomprehension we designed a C/C++ preprocessor schema(supplementing the Columbus Schema for C++) and implementeda preprocessor which produces both preprocessedfiles and schema instances. The instances of the schemamay be used to model: (1) preprocessor constructs in theoriginal source code, (2) the preprocessed compilation unit,and (3) the transformations made by the preprocessor.