• Title of article

    A new approach to compiling adaptive programs

  • Author/Authors

    Jens Palsberg، نويسنده , , Boaz Patt-Shamir، نويسنده , , Karl Lieberherr، نويسنده ,

  • Issue Information
    دوماهنامه با شماره پیاپی سال 1997
  • Pages
    24
  • From page
    303
  • To page
    326
  • Abstract
    An adaptive program can be understood as an object-oriented program where the class graph is a parameter, and hence the class graph may be changed without changing the program. The problem of compiling an adaptive program and a class graph into an object-oriented program was studied by Palsberg et al. (1995). Their compiler is efficient but works only in special cases. In this paper we present and prove the correctness of a compiler that handles the general case. The compiler first computes a finite-state automaton and then uses it to generate efficient code.
  • Journal title
    Science of Computer Programming
  • Serial Year
    1997
  • Journal title
    Science of Computer Programming
  • Record number

    1079483