• DocumentCode
    2850385
  • Title

    Goal-independent Semantics for Path Dependent Analysis of Prolog Programs

  • Author

    Zhao, Lingzhong ; Gu, Tianlong ; Qian, Junyan

  • Author_Institution
    Guilin Univ. Electron. Technol., Guilin,
  • fYear
    2007
  • fDate
    6-8 June 2007
  • Firstpage
    261
  • Lastpage
    272
  • Abstract
    Considering the execution path and cut operators of a Prolog program can improve the precision of program analysis. Known semantics for Prolog either makes use of limited amount of path information and hence leads to less precise analysis or is goal dependent and therefore not suitable for goal independent program analysis. This paper deals with the problems by proposing a goal-independent denotational semantics for Prolog with cut, from which we can compute the set of partially computed answers associated to each program point that are obtained in the execution of any goal. With existing abstraction techniques this semantics can be abstracted into a finitely computable semantics that can serve as a basis for goal-independent Prolog program analysis.
  • Keywords
    PROLOG; logic programming; program diagnostics; programming language semantics; Prolog program analysis; abstraction technique; goal-independent denotational semantics; path dependent analysis; Computer languages; Context modeling; Information analysis; Logic programming; Optimizing compilers; Program processors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Theoretical Aspects of Software Engineering, 2007. TASE '07. First Joint IEEE/IFIP Symposium on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-0-7695-2856-4
  • Type

    conf

  • DOI
    10.1109/TASE.2007.30
  • Filename
    4239970