• 検索結果がありません。

ISLISP処理系TISLにおけるネイティブインタフェースの設計および実装

N/A
N/A
Protected

Academic year: 2021

シェア "ISLISP処理系TISLにおけるネイティブインタフェースの設計および実装"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)Vol. 42. No. SIG 11(PRO 12). Nov. 2001. 情報処理学会論文誌:プログラミング. 発表概要. ISLISP 処理系 TISL におけるネイティブ インタフェースの設計および実装 泉. 信. 人†. 伊. 藤. 貴. 康†. プログラミング言語 Lisp の ISO 標準である ISLISP の言語処理系として TISL が筆者らにより作 成され,公開されている.ISLISP は Lisp の基本機能である記号処理やリスト処理に加えてオブジェ クト指向機能を備えた強力な言語であるが,ISLISP の機能のみではアプリケーション作成に必要な 機能を満たせないため外部手続きを利用したい状況がある.このような状況に対応するために,Java Native Interface を参考に TISL のためのネイティブプログラミングインタフェースを設計し,TISL ネイティブ インタフェース TNI と名付け,実装を行った.本発表では TNI の機能および実装につい て報告し,TNI の使用法を説明する.TISL 側では,新に導入した deflink 定義形式を使用し,外部 手続きと ISLISP の関数のリンクを行う.リンクを行った ISLISP 関数は他の ISLISP 関数と同様に 呼び出すことが可能である.外部手続き側では,TNI を通して ISLISP のオブジェクトを参照した り,ISLISP 関数を呼び出したりすることができる.TNI を用いることにより,C 言語や C++言語 で記述されたアプリケーションと TISL で実行される ISLISP アプリケーションとの相互作用を行う ことが可能になる.. Design and Implementation of a Native Interface for an ISLISP Processor TISL Nobuto Izumi† and Takayasu Ito† ISLISP is the ISO standard Lisp language. We implemented its processor, called the TISL system. There are situations that ISLISP lacks in supporting facilities to realize some applications that incorporate other languages and systems. In order to implement various ISLISP applications for such situations, we designed a native interface for TISL programmer, called the TISL Native Interface (TNI), borrowing some ideas from the Java Native Interface. We implemented the TISL system with the TISL Native Interface. In this presentation, we report the design of the TISL Native Interface and its implementation in TISL. And we explain how to use the TISL Native Interface, using several examples. The ’deflink’ construct is introduced into the TISL system to link a ISLISP function to a foreign procedure. A ’deflink’ function can be used in the same way as ISLISP functions. The foreign procedures and applications can utilize ISLISP functions through the TISL Native Interface. The TISL Native Interface enables ISLISP applications on TISL to interact with applications written in C and C++.. ( 平成 13 年 1 月 23 日発表). † 東北大学大学院情報科学研究科 Department of Computer and Mathematical Sciences, Graduate School of Information Sciences, Tohoku University. 97.

(2)

参照

関連したドキュメント

この 文書 はコンピューターによって 英語 から 自動的 に 翻訳 されているため、 言語 が 不明瞭 になる 可能性 があります。.. このドキュメントは、 元 のドキュメントに 比 べて

2021] .さらに対応するプログラミング言語も作

本論文での分析は、叙述関係の Subject であれば、 Predicate に対して分配される ことが可能というものである。そして o

あれば、その逸脱に対しては N400 が惹起され、 ELAN や P600 は惹起しないと 考えられる。もし、シカの認可処理に統語的処理と意味的処理の両方が関わっ

当初申請時において計画されている(又は基準年度より後の年度において既に実施さ

自然言語というのは、生得 な文法 があるということです。 生まれつき に、人 に わっている 力を って乳幼児が獲得できる言語だという え です。 語の それ自 も、 から

神はこのように隠れておられるので、神は隠 れていると言わない宗教はどれも正しくな

り分けることを通して,訴訟事件を計画的に処理し,訴訟の迅速化および低