• DocumentCode
    2987085
  • Title

    A practical and space efficient scheme for keeping source location in parse trees

  • Author

    Zhu, Jianhua

  • Author_Institution
    US West Advanced Technologies, Boulder, CO, USA
  • fYear
    1993
  • fDate
    1-5 Nov 1993
  • Firstpage
    374
  • Lastpage
    379
  • Abstract
    Many CASE tools use graphical notations to represent program source code, which provide an effective visual aid for program analysis. In such systems, it is important that facilities exist for tracing back to source code from, say, a node in a control-flow graph. We describe a scheme by which source code location information is kept with parse trees. The most attractive feature of this scheme is that it requires minimal amount of storage space and it is very simple to implement, particularly well suited for an implementation where an LALR parser generator (e.g., YACC) is used
  • Keywords
    computer aided software engineering; computer graphics; grammars; program testing; software tools; system monitoring; tree data structures; visual programming; CASE tools; LALR parser generator; YACC; control-flow graph; graphical notations; parse trees; program analysis; program source code; source code location information; space efficient scheme; storage space; visual aid; Automata; Books; Displays; Flow graphs; Graphical user interfaces; Position measurement; Production; Testing; Tree data structures; Tree graphs;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 1993. COMPSAC 93. Proceedings., Seventeenth Annual International
  • Conference_Location
    Phoenix, AZ
  • Print_ISBN
    0-8186-4440-0
  • Type

    conf

  • DOI
    10.1109/CMPSAC.1993.404243
  • Filename
    404243