Encoding Abstract Syntax Without Fresh Names

被引:1
|
作者
Lakin, Matthew R. [1 ]
Pitts, Andrew M. [1 ]
机构
[1] Univ Cambridge, Comp Lab, Cambridge CB2 3QG, England
基金
英国工程与自然科学研究理事会;
关键词
Meta-programming; Alpha-equivalence; Nominal abstract syntax; SEMANTICS;
D O I
10.1007/s10817-011-9220-7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This paper introduces a variant of nominal abstract syntax in which bindable names are represented by normal meta-variables as opposed to a separate class of globally fresh names. Distinct meta-variables can be instantiated with the same concrete name, which we call aliasing. The possible aliasing patterns are controlled by explicit constraints on the distinctness (freshness) of names. This approach has already been used in the nominal meta-programming language alpha ML. We recap that language and develop a theory of contextual equivalence for it. The central result of the paper is that abstract syntax trees (ASTs) involving binders can be encoded into alpha ML in such a way that alpha-equivalence of ASTs corresponds with contextual equivalence of their encodings. This is novel because the encoding does not rely on the existence of globally fresh names and fresh name generation, which are fundamental to the correctness of the pre-existing encoding of abstract syntax into FreshML.
引用
收藏
页码:115 / 140
页数:26
相关论文
共 50 条
  • [21] Unified Syntax for Abstract State Machines
    Arcaini, Paolo
    Bonfanti, Silvia
    Dausend, Marcel
    Gargantini, Angelo
    Mashkoor, Atif
    Raschke, Alexander
    Riccobene, Elvinia
    Scandurra, Patrizia
    Stegmaier, Michael
    ABSTRACT STATE MACHINES, ALLOY, B, TLA, VDM, AND Z (ABZ 2016), 2016, 9675 : 231 - 236
  • [22] NORMAL FORM FOR ABSTRACT SYNTAX.
    Smith, John Miles
    1978, : 156 - 162
  • [23] Code Summarization with Abstract Syntax Tree
    Chen, Qiuyuan
    Hu, Han
    Liu, Zhaoyi
    NEURAL INFORMATION PROCESSING, ICONIP 2019, PT V, 2019, 1143 : 652 - 660
  • [24] Abstract Syntax of Object Role Modeling
    Pan Wen-lin
    Liu Da-xin
    FOURTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2011): COMPUTER VISION AND IMAGE ANALYSIS: PATTERN RECOGNITION AND BASIC TECHNOLOGIES, 2012, 8350
  • [25] The Zephyr Abstract Syntax Description Language
    Wang, DC
    Appel, AW
    Kern, JL
    Serra, CS
    PROCEEDINGS OF THE CONFERENCE ON DOMAIN-SPECIFIC LANGUAGES, 1997, : 213 - 227
  • [26] ABSTRACT PRESCRIPTION OF FORMAL LANGUAGE SYNTAX
    MEITUS, VY
    DOKLADY AKADEMII NAUK SSSR, 1974, 216 (02): : 261 - 263
  • [27] Abstract syntax for variable binders: An overview
    Miller, D
    COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 239 - 253
  • [28] Toward a calculus for abstract syntax trees
    Wile, DS
    ALGORITHMIC LANGUAGES AND CALCULI, 1997, : 324 - 353
  • [29] Abstract syntax and semantics of visual languages
    Erwig, M
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 1998, 9 (05): : 461 - 483
  • [30] French norms of imagery for drawings, concrete names and abstract names
    Robin, Frederique
    CANADIAN JOURNAL OF EXPERIMENTAL PSYCHOLOGY-REVUE CANADIENNE DE PSYCHOLOGIE EXPERIMENTALE, 2006, 60 (03): : 221 - 236