TOWARDS A METHODOLOGY FOR THE DESIGN OF ABSTRACT MACHINES FOR LOGIC PROGRAMMING-LANGUAGES

被引:4
作者
NILSSON, U [1 ]
机构
[1] LINKOPING UNIV, DEPT COMP & INFORMAT SCI, S-58183 LINKOPING, SWEDEN
来源
JOURNAL OF LOGIC PROGRAMMING | 1993年 / 16卷 / 1-2期
关键词
D O I
10.1016/0743-1066(93)90026-D
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A number of constituents of a methodology for the systematic design of abstract machines for logic programming languages are described. By means of partial deduction and other program transformation techniques, an interpreter and a source program are ''compiled'' into a new residual program consisting of: 1) ''machine code'' for the source program, and 2) an abstract machine for the machine code. Based upon the appearance of these, the user may choose to refine the original interpreter and repeat the process until the resulting ''machine code'' and the abstract machine satisfy the user's expectations of an abstract machine. We illustrate these principles by reconstructing several of the control instructions of Warren's Abstract Machine. The paper complements previous work of Kursawe, who reconstructed several of the unification instructions using similar techniques.
引用
收藏
页码:163 / 189
页数:27
相关论文
共 36 条
[1]  
Ait-Kaci H., 1991, WARRENS ABSTRACT MAC
[2]   PARTIAL EVALUATOR, AND ITS USE AS A PROGRAMMING TOOL [J].
BECKMAN, L ;
HARALDSON, A ;
OSKARSSON, O ;
SANDEWALL, E .
ARTIFICIAL INTELLIGENCE, 1976, 7 (04) :319-357
[3]  
BJORNER D, 1988, PARTIAL EVALUATION M
[4]  
Bowen K.A., 1982, LOGIC PROGRAMMING, P153
[5]  
CHAN D, 1988, 5TH P INTL C S LOG P, P111
[6]  
DEGROOT D, 1986, LOGIC PROGRAMING FUN
[7]   MIXED COMPUTATION - POTENTIAL APPLICATIONS AND PROBLEMS FOR STUDY [J].
ERSHOV, AP .
THEORETICAL COMPUTER SCIENCE, 1982, 18 (01) :41-67
[8]  
ERSHOV AP, 1988, NEW GENERATION COMPU, V6
[9]  
Futamura Yoshihiko, 1971, SYST COMPUT CONTROL, V25, P45
[10]  
HANNAN J, 1991, SIGPLAN NOTICES, V26, P130, DOI 10.1145/115866.115879