• DocumentCode
    3336321
  • Title

    XML representations of program code

  • Author

    Putro, H.P. ; Liem, Inggriani

  • Author_Institution
    Data & Software Eng. Res. Group, Inst. Teknol. Bandung, Bandung, Indonesia
  • fYear
    2011
  • fDate
    17-19 July 2011
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    In this paper, we propose to present program code forms as XML and developed associated XML definition (DTD). The XML representations include Grammar, Token Stream and Abstract Syntax Tree (AST) which are provided by their source code. We built a software library to help serializing the XML representations of these computer program artifacts. We also defined characteristics of process related to each object representation form in order to obtain the optimal process. We successfully tested the library for detecting code smell and got the result. From this work we found that XML is represented to portray source code in a single specification for any programming languages based on their grammar as well as token stream and AST elements.
  • Keywords
    XML; grammars; XML definition; XML representation; abstract syntax tree representation; code smell detection; grammar representation; program code; programming language; software library; source code; token stream representation; Grammar; Production; Semantics; Silicon; Syntactics; XML; AST; DTD; XML; grammar; source code; token stream;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Electrical Engineering and Informatics (ICEEI), 2011 International Conference on
  • Conference_Location
    Bandung
  • ISSN
    2155-6822
  • Print_ISBN
    978-1-4577-0753-7
  • Type

    conf

  • DOI
    10.1109/ICEEI.2011.6021630
  • Filename
    6021630