Strictness Analysis for Attribute Grammars

    Publikation: Bidrag til bog/antologi/rapportBidrag til bog/antologiForskning

    Resumé

    Attribute grammars may be seen as a (rather specialised) lazy or demand-driven programming language. The ``programs'' in this language take text or parse trees as input and return values of the synthesised attributes to the root as output. From this observation we establish a framework for abstract interpretation of attribute grammars. The framework is used to construct a strictness analysis for attribute grammars. Results of the analysis enable us to transform an attribute grammar such that attributes are evaluated during parsing, if possible. The analysis is proved correct by relating it to a fixpoint semantics for attribute grammars. An implementation of the analysis is discussed and some extensions to the analysis are mentioned.
    OriginalsprogEngelsk
    TitelProgramming Language Implementation and Logic Programming
    RedaktørerMaurice Bruynooghe, Martin Wirsing
    Antal sider13
    ForlagKluwer Academic Publishers
    Publikationsdato1992
    Sider145-157
    ISBN (Trykt)3-540-55844-6
    StatusUdgivet - 1992
    NavnLecture Notes in Computer Science
    Vol/bind631
    ISSN0302-9743

    Citer dette

    Rosendahl, M. (1992). Strictness Analysis for Attribute Grammars. I M. Bruynooghe, & M. Wirsing (red.), Programming Language Implementation and Logic Programming (s. 145-157). Kluwer Academic Publishers. Lecture Notes in Computer Science, Bind. 631
    Rosendahl, Mads. / Strictness Analysis for Attribute Grammars. Programming Language Implementation and Logic Programming. red. / Maurice Bruynooghe ; Martin Wirsing. Kluwer Academic Publishers, 1992. s. 145-157 (Lecture Notes in Computer Science, Bind 631).
    @inbook{1317006052be11dba4bc000ea68e967b,
    title = "Strictness Analysis for Attribute Grammars",
    abstract = "Attribute grammars may be seen as a (rather specialised) lazy or demand-driven programming language. The ``programs'' in this language take text or parse trees as input and return values of the synthesised attributes to the root as output. From this observation we establish a framework for abstract interpretation of attribute grammars. The framework is used to construct a strictness analysis for attribute grammars. Results of the analysis enable us to transform an attribute grammar such that attributes are evaluated during parsing, if possible. The analysis is proved correct by relating it to a fixpoint semantics for attribute grammars. An implementation of the analysis is discussed and some extensions to the analysis are mentioned.",
    author = "Mads Rosendahl",
    year = "1992",
    language = "English",
    isbn = "3-540-55844-6",
    pages = "145--157",
    editor = "Maurice Bruynooghe and Martin Wirsing",
    booktitle = "Programming Language Implementation and Logic Programming",
    publisher = "Kluwer Academic Publishers",

    }

    Rosendahl, M 1992, Strictness Analysis for Attribute Grammars. i M Bruynooghe & M Wirsing (red), Programming Language Implementation and Logic Programming. Kluwer Academic Publishers, Lecture Notes in Computer Science, bind 631, s. 145-157.

    Strictness Analysis for Attribute Grammars. / Rosendahl, Mads.

    Programming Language Implementation and Logic Programming. red. / Maurice Bruynooghe; Martin Wirsing. Kluwer Academic Publishers, 1992. s. 145-157 (Lecture Notes in Computer Science, Bind 631).

    Publikation: Bidrag til bog/antologi/rapportBidrag til bog/antologiForskning

    TY - CHAP

    T1 - Strictness Analysis for Attribute Grammars

    AU - Rosendahl, Mads

    PY - 1992

    Y1 - 1992

    N2 - Attribute grammars may be seen as a (rather specialised) lazy or demand-driven programming language. The ``programs'' in this language take text or parse trees as input and return values of the synthesised attributes to the root as output. From this observation we establish a framework for abstract interpretation of attribute grammars. The framework is used to construct a strictness analysis for attribute grammars. Results of the analysis enable us to transform an attribute grammar such that attributes are evaluated during parsing, if possible. The analysis is proved correct by relating it to a fixpoint semantics for attribute grammars. An implementation of the analysis is discussed and some extensions to the analysis are mentioned.

    AB - Attribute grammars may be seen as a (rather specialised) lazy or demand-driven programming language. The ``programs'' in this language take text or parse trees as input and return values of the synthesised attributes to the root as output. From this observation we establish a framework for abstract interpretation of attribute grammars. The framework is used to construct a strictness analysis for attribute grammars. Results of the analysis enable us to transform an attribute grammar such that attributes are evaluated during parsing, if possible. The analysis is proved correct by relating it to a fixpoint semantics for attribute grammars. An implementation of the analysis is discussed and some extensions to the analysis are mentioned.

    M3 - Book chapter

    SN - 3-540-55844-6

    SP - 145

    EP - 157

    BT - Programming Language Implementation and Logic Programming

    A2 - Bruynooghe, Maurice

    A2 - Wirsing, Martin

    PB - Kluwer Academic Publishers

    ER -

    Rosendahl M. Strictness Analysis for Attribute Grammars. I Bruynooghe M, Wirsing M, red., Programming Language Implementation and Logic Programming. Kluwer Academic Publishers. 1992. s. 145-157. (Lecture Notes in Computer Science, Bind 631).