HIGHER-ORDER ATTRIBUTE GRAMMARS

被引:0
|
作者
SWIERSTRA, D
VOGT, H
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Higher Order Attribute Grammars (HAGs) are an extension of normal attribute grammars in the sense that the distinction between the domain of parse-trees and the domain of attributes has disappeared: parse trees may be computed in attributes and grafted to the parse tree at various places. As a result semantic functions may be described by attribute evaluation. We will present the basic definitions for HAGs, and compare them with attribute coupled grammars, extended affix grammars and functional programming languages. We will indicate how multi-pass compilers and a compiler for supercombinators can be described this way. It will be shown that, especially in the case of incremental evaluation, the conventional execution model has to be generalised. Such a model, based on function caching, hash-consing and combinator construction will be discussed. This model encompasses many of the more ad-hoc optimisations one finds in standard implementations of normal attribute grammars.
引用
收藏
页码:256 / 296
页数:41
相关论文
共 50 条
  • [41] Higher-Order Stereophony
    Hollebon, Jacob
    Fazi, Filippo Maria
    [J]. IEEE-ACM TRANSACTIONS ON AUDIO SPEECH AND LANGUAGE PROCESSING, 2023, 31 : 2872 - 2885
  • [42] Higher-order hierarchies
    Ernst, E
    [J]. ECOOP 2003 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2003, 2743 : 303 - 328
  • [43] Higher-order president
    Qualls, Sarah
    [J]. AMERICAN JOURNAL OF NURSING, 2007, 107 (09) : 72AAA - +
  • [44] HIGHER-ORDER FACTORS
    ADCOCK, CJ
    [J]. BRITISH JOURNAL OF STATISTICAL PSYCHOLOGY, 1964, 17 (02): : 153 - 160
  • [45] Higher-Order Syllogistics
    Icard, Thomas F., III
    [J]. FORMAL GRAMMAR, FG 2014, 2014, 8612 : 1 - 14
  • [46] Higher-order subtyping
    Pierce, B
    Steffen, M
    [J]. THEORETICAL COMPUTER SCIENCE, 1997, 176 (1-2) : 235 - 282
  • [47] Higher-order misinformation
    Harris, Keith Raymond
    [J]. SYNTHESE, 2024, 204 (04)
  • [48] ON HIGHER-ORDER LOGIC
    KOGALOVS.SR
    [J]. DOKLADY AKADEMII NAUK SSSR, 1966, 171 (06): : 1272 - &
  • [49] HIGHER-ORDER TENSORS
    MORGAN, AJA
    [J]. SIAM JOURNAL ON APPLIED MATHEMATICS, 1976, 30 (02) : 355 - 379
  • [50] Higher-order substitutions
    Duggan, D
    [J]. INFORMATION AND COMPUTATION, 2001, 164 (01) : 1 - 53