An experiment in abstract machine design

被引:0
|
作者
Diehl, S
机构
[1] FB 14-Informatik, Universität des Saarlandes, 66041 Saarbrücken
来源
SOFTWARE-PRACTICE & EXPERIENCE | 1997年 / 27卷 / 01期
关键词
logic programming; typed feature structures; abstract machines; WAM; compiler design; partial evaluation;
D O I
10.1002/(SICI)1097-024X(199701)27:1<49::AID-SPE73>3.0.CO;2-D
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this article we present Typed Feature Structures as an extension of Prolog, and show how to come up with a compilation scheme and an abstract machine using a design methodology based on partial evaluation. First we define the transformations used by our partial evaluator. Then we present the design methodology which we will use later. Next, we clarify the notion of Typed Feature Structures that underlies our work, and formally define the unification of such structures. Based on this definition, we develop a unification procedure with explicit heap representation. By partially evaluating this procedure with respect to some example programs, we show how to come up with the machine instructions and translation schemes. Finally, we briefly address coreferences, cyclic structures and the unification of types.
引用
收藏
页码:49 / 62
页数:14
相关论文
共 50 条
  • [31] The Vienna Abstract Machine
    Krall, A
    JOURNAL OF LOGIC PROGRAMMING, 1996, 29 (1-3): : 85 - 106
  • [32] THE LINEAR ABSTRACT MACHINE
    LAFONT, Y
    THEORETICAL COMPUTER SCIENCE, 1988, 59 (1-2) : 157 - 180
  • [33] The Vienna abstract machine
    Krall, Andreas
    Journal of Logic Programming, 29 (1-3): : 85 - 106
  • [34] ABSTRACT MACHINE FOR LDL
    CHIMENTI, D
    GAMBOA, R
    KRISHNAMURTHY, R
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 416 : 153 - 168
  • [35] THE MOTHERWELL EXPERIMENT + ABSTRACT EXPRESSIONISM
    BANNON, A
    CONNOISSEUR, 1984, 214 (867): : 24 - &
  • [36] An abstract machine for Oz
    Mehl, M
    Scheidhauer, R
    Schulte, C
    PROGRAMMING LANGUAGES: IMPLEMENTATIONS, LOGICS AND PROGRAMS, 1995, 982 : 151 - 168
  • [37] A neural abstract machine
    Börger, E
    Sona, D
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2001, 7 (11) : 1006 - 1023
  • [38] The cryptographic abstract machine
    Rosenzweig, D
    Runje, D
    ABSTRACT STATE MACHINES 2004: ADVANCES IN THEORY AND PRACTICE, PROCEEDINGS, 2004, 3052 : 202 - 217
  • [39] THE VIENNA ABSTRACT MACHINE
    KRALL, A
    NEUMERKEL, U
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 456 : 121 - 135
  • [40] The Euclid abstract machine
    Mycka, Jerzy
    Costa, Jose Felix
    Coelho, Francisco
    INTERNATIONAL JOURNAL OF UNCONVENTIONAL COMPUTING, 2008, 4 (03) : 223 - 247