z-logo
open-access-imgOpen Access
Program Transformations in a Denotational Setting
Author(s) -
Flemming Nielson
Publication year - 1981
Publication title -
daimi pb
Language(s) - English
Resource type - Journals
eISSN - 2245-9316
pISSN - 0105-8517
DOI - 10.7146/dpb.v10i140.7415
Subject(s) - exploit , equivalence (formal languages) , correctness , compiler , computer science , liveness , program transformation , transformation (genetics) , programming language , semantic equivalence , theoretical computer science , mathematics , discrete mathematics , information retrieval , computer security , biochemistry , chemistry , semantic web , semantic computing , gene
Program transformations are frequently performed by optimizing compilers and the correctness of applying them usually depends on data flow information. For source-to-source transformations it is shown how a denotational setting can be useful for validating such program transformations. Strong equivalence is obtained for transformations that exploit forward data flow information, whereas weak equivalence is obtained for transformations that exploit backward data flow information. To obtain strong equivalence both the original and the transformed program must be data flow analysed, but consideration of a transformation exploiting liveness of variables indicates that a more satisfactory approach may be possible.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here