• DocumentCode
    3233177
  • Title

    A virtual file system for source program editing

  • Author

    Atsushi, Yoshida ; Naoki, Fukuyasu

  • Author_Institution
    Center for Inf. Sci., Wakayama Univ., Japan
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    176
  • Lastpage
    183
  • Abstract
    In this paper we propose a virtual file system, "SPDFS," which provides global declarations in source programs as virtual files to programmers. Global declarations means objects which declare identifiers in external scope, such as function definition and variable declaration. On SPDFS, programmers can edit virtual files directly by their favorite editors. Changes to declarations in a virtual file are to be applied to real source files automatically. SPDFS can also provide a set of relevant declarations distributed in different source files as a virtual file. Relevancy of declarations in this paper means references among declarations. SPDFS retrieves declarations which are referred by or refer to the target declaration and combine them in a virtual file. The depth of references can be specified in a file path by programmers. SPDFS reduces the amount of source programs which programmers need to read for editing and the amount of programmers\´ works for searching relevant declarations. We show an implementation of SPDFS using the portal file system on FreeBSD. The portal file system invokes commands for reading and writing a virtual file respectively. These commands work as user-land process. Because no modification of kernel is required, it is easy to customize the behavior of SPDFS. We also show the effectiveness of SPDFS by comparing numbers of lines of source programs which programmers need to read for editing.
  • Keywords
    file organisation; software engineering; virtual storage; SPDFS; portal file system; software development; source programs; virtual file system; virtual files; Computer languages; File systems; HTML; Information science; Kernel; Portals; Programming profession; Software prototyping; Systems engineering and theory; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2002. Ninth Asia-Pacific
  • ISSN
    1530-1362
  • Print_ISBN
    0-7695-1850-8
  • Type

    conf

  • DOI
    10.1109/APSEC.2002.1182987
  • Filename
    1182987