• DocumentCode
    301683
  • Title

    Reasoning about C++ in Prolog

  • Author

    Rangarajan, K. ; Eswar, P.

  • Author_Institution
    Man Machine Syst., Madras, India
  • Volume
    4
  • fYear
    1995
  • fDate
    22-25 Oct 1995
  • Firstpage
    3186
  • Abstract
    Ct+ is one of the most popular and widely used object-oriented programming languages today. It is also widely accepted to be quite complex to understand and difficult to learn and to use. In an attempt at alleviating these problems and to make C++ a more tractable language, the authors are currently investigating the use of Prolog to represent the semantics of C++ constructs and applying it to reason about C++ programs. The idea is to represent each of the language features in the form of Prolog programs and to pose any operation as a theorem to be proved. If the theorem can be proved, then the operation is correct in C++, whereas if it fails, it represents a violation of the rules of the language. In this paper, the authors discuss their approach, touch upon a tool that implements their key ideas and indicate future directions
  • Keywords
    C language; PROLOG; formal specification; theorem proving; C++; Prolog; language features; object-oriented programming languages; semantics; Books; Computer languages; Electronic mail; Formal specifications; Man machine systems; Natural languages; Object oriented programming; Programming profession; Runtime; Specification languages;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Systems, Man and Cybernetics, 1995. Intelligent Systems for the 21st Century., IEEE International Conference on
  • Conference_Location
    Vancouver, BC
  • Print_ISBN
    0-7803-2559-1
  • Type

    conf

  • DOI
    10.1109/ICSMC.1995.538273
  • Filename
    538273