METACIRCULARITY IN THE POLYMORPHIC LAMBDA-CALCULUS

被引:17
|
作者
PFENNING, F
LEE, P
机构
[1] Department of Computer Science, Carnegie Mellon University, Pittsburgh
关键词
D O I
10.1016/0304-3975(90)90109-U
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the question of whether a useful notion of metacircularity exists for the polymorphic lambda-calculus. Even though complete metacircularity seems to be impossible, we obtain a close approximation to a metacircular interpreter. We begin by presenting an encoding for the Girard-Reynolds second-order polymorphic lambda-calculus in the third-order polymorphic lambda-calculus. The encoding makes use of representations in which abstractions are represented by abstractions, thus eliminating the need for the explicit representation of environments. We then extend this construction to encompass all of the omega-order polymorphic lambda-calculus (F-omega). The representation has the property that evaluation is definable, and furthermore that only well-typed terms can be represented and thus type inference does not have to be explicitly defined. Unfortunately, this metacircularity result seems to fall short of providing a useful framework for typed metaprogramming. We speculate on the reasons for this failure and the prospects for overcoming it in the future. In addition, we briefly describe our efforts in designing a practical programming language based on F-omega.
引用
收藏
页码:137 / 159
页数:23
相关论文
共 50 条
  • [21] Spinal Atomic Lambda-Calculus
    Sherratt, David
    Heijltjes, Willem
    Gundersen, Tom
    Parigot, Michel
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, FOSSACS 2020, 2020, 12077 : 582 - 601
  • [22] ON THE REPRESENTATION OF DATA IN LAMBDA-CALCULUS
    PARIGOT, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 440 : 309 - 321
  • [23] LAMBDA-CALCULUS MODELS AND EXTENSIONALITY
    HINDLEY, R
    LONGO, G
    JOURNAL OF SYMBOLIC LOGIC, 1980, 45 (02) : 392 - 392
  • [24] COMPUTATIONAL LAMBDA-CALCULUS AND MONADS
    MOGGI, E
    FOURTH ANNUAL SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, 1989, : 14 - 23
  • [25] Solvability in Resource Lambda-Calculus
    Pagani, Michele
    della Rocca, Simona Ronchi
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, PROCEEDINGS, 2010, 6014 : 358 - 373
  • [26] HIGHLIGHTS OF THE HISTORY OF THE LAMBDA-CALCULUS
    ROSSER, JB
    ANNALS OF THE HISTORY OF COMPUTING, 1984, 6 (04): : 337 - 349
  • [27] Standardization in resource lambda-calculus
    Dominici, Maurizio
    Della Rocca, Simona Ronchi
    Tranquilli, Paolo
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (101): : 1 - 11
  • [28] INVERTIBLE TERMS IN THE LAMBDA-CALCULUS
    BERGSTRA, J
    KLOP, JW
    THEORETICAL COMPUTER SCIENCE, 1980, 11 (01) : 19 - 37
  • [29] A linear linear lambda-calculus
    Diaz-Caro, Alejandro
    Dowek, Gilles
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2024,
  • [30] Semantics of time and lambda-calculus
    不详
    JOURNAL OF INDO-EUROPEAN STUDIES, 1999, 27 (3-4): : 508 - 508