Applying Program Transformation to Type Inference for a Logic Language
スポンサーリンク
概要
- 論文の詳細を見る
This paper presents a type inference algorithm for a logic language, LHS. The algorithm uses a program transformation, SPS, to given programs as a type inference. This method is theoretically clear, because applying it to given programs is equal to executing it partially. No other additional framework is needed for our approach. In contrast, many studies on type inference for logic languages are based on Mycroft and O'Keefe's famous algorithm, which was initially developed for functional languages. Therefore, the meanings of the algorithms are theoretically unclear in the domain of logic languages. Our type inference is flexible. Users of the type inference system can specify the types of objects abstractly (weakly) if the types are not exactly known, or they can specify them particularly (strongly) if the types are exactly known. Both kinds of programs are inferred for types. In contrast, many type inference systems accept purely untyped programs. Thus, with these two features, our method is simple and flexible.
- 社団法人電子情報通信学会の論文
- 1998-11-25
著者
-
Akama K
Hokkaido Univ.
-
Akama Kiyoshi
Hokkaido University
-
Kawaguchi Yuuichi
Tomakomai National College of Technology
-
Miyamoto Eiichi
Hokkaido University
-
KAWAGUCHI Yuuichi
The author is with Tomakomai National College of Technology
-
AKAMA Kiyoshi
The authors are with the Faculty of engineering, Hokkaido University
-
MIYAMOTO Eiichi
The authors are with the Faculty of engineering, Hokkaido University
関連論文
- A Simple Framework for Objects That Have Classes and Substructures Based on ET Paradigm
- Applying Program Transformation to Type Inference for a Logic Language
- Electron Transport in Hole-Transport-Type Photoconductive Film
- A Specialization System for Domain Variables and Equivalent Transformation for Non-Equality Constraints
- Unreachability Proofs for β Rewriting Systems by Homomorphisms
- Common Structure of Semi-Thue Systems, Petri Nets, and Other Rewriting Systems