000 01927naa a2200265 a 4500
003 AR-LpUFIB
005 20240131170934.0
007 ta
008 230201s2013 xx do 000 0 eng d
024 8 _aDIF005984
040 _aAR-LpUFIB
_bspa
_cAR-LpUFIB
100 1 _aGarrido, Alejandra
_9251648
245 1 0 _aEmbracing the C preprocessor during refactoring
260 _aref_localidad@NULL :
_b Wiley,
_c2013
300 _a1 archivo (3,2 MB)
500 _aFormato de archivo: PDF. -- Este documento es producción intelectual de la Facultad de Informática - UNLP (Colección BIPA/Biblioteca)
520 _aC preprocessor directives are heavily used in C programs because they provide useful and even necessary additions to the C language. However, they are usually executed and discarded before any analysis is applied on C programs. In refactoring, preprocessor directives must be preserved through the whole process of pars- ing, analysis and transformation to retain editable yet correct source code. We propose a new preprocessing approach and special program representations that allow a program to be analyzed and transformed without losing its preprocessor directives, but treating them as first-class program entities. These representations are essential for a correct refactoring tool. We also describe the challenges that preprocessor directives bring to refactoring and how the program representations that we propose solve those challenges. Finally, we give details of two refactorings and present some case studies with our successfully applied solution.
534 _aJournal of Software: Evolution and Process, 25(12), pp. 1285-1304
650 4 _aDIAGNÓSTICO MÉDICO
_9252428
650 4 _aPREPROCESADORES
_9253683
700 1 _aJohnson, Ralph E.
_9252559
856 4 0 _uhttp://dx.doi.org/10.1002/smr.1603
856 4 0 _u http://catalogo.info.unlp.edu.ar/meran/getDocument.pl?id=592
942 _cCP
999 _c848007
_d848007