• DocumentCode
    1931445
  • Title

    Parsing minimization when extracting information from code in the presence of conditional compilation

  • Author

    Somé, Stéphane S. ; Lethbridge, Timothy C.

  • Author_Institution
    Sch. of Inf. Technol. & Eng., Ottawa Univ., Ont., Canada
  • fYear
    1998
  • fDate
    24-26 Jun 1998
  • Firstpage
    118
  • Lastpage
    125
  • Abstract
    Exploring and understanding a software system requires extracting meaningful information from it. This in turn involves syntactical analysis of source code, an activity that can be complicated by the use of conditional compilation. In this paper we discuss difficulties when parsing code with conditional compilation. We argue that the effective way to ensure the extraction of all meaningful information from a source file is to parse a set of versions of that file defined by conditional compilation. We then describe a heuristic-based approach to minimize the amount of parsing
  • Keywords
    grammars; program compilers; reverse engineering; software maintenance; conditional compilation; heuristic-based approach; parsing; parsing minimization; source file; syntactical analysis; Data mining; Electrical capacitance tomography; Identity-based encryption; Information technology; Maintenance engineering; Productivity; Programming profession; Read only memory; Reverse engineering; Software maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension, 1998. IWPC '98. Proceedings., 6th International Workshop on
  • Conference_Location
    Ischia
  • ISSN
    1092-8138
  • Print_ISBN
    0-8186-8560-3
  • Type

    conf

  • DOI
    10.1109/WPC.1998.693328
  • Filename
    693328