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

コントロールオペレータを持つ必要呼び計算体系の設計

N/A
N/A
Protected

Academic year: 2021

シェア "コントロールオペレータを持つ必要呼び計算体系の設計"

Copied!
1
0
0

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

全文

(1)情報処理学会論文誌. プログラミング. Vol.5 No.2 104 (Mar. 2012). 発表概要. コントロールオペレータを持つ必要呼び計算体系の設計 西山 達也1,a). 亀山 幸義1. 2011年11月2日発表. 本発表では,コントロールオペレータ shift/reset を持つ必要呼び(call-by-need)の計算体系および抽 象機械の提案を行う.コントロールオペレータはプログラムの実行順序を操作するオペレータであり,複 雑な制御構造を持つプログラムや大域脱出を必要とするプログラムに対して有用である.Ariola らによ り,必要呼び計算方式を定式化した体系が提案されて以来,必要呼びに関する研究が活発に行われてい るが,ほとんどの研究は副作用のない計算体系を対象としている.本研究は,必要呼び体系においても, monadic style 等ではなく,直接コントロールオペレータを持つ direct style が有益であるという観測に基 づき shift/reset を導入することを目的とした.体系の設計においては,Ariola らの体系の保存的な拡張で あること,計算によって自由変数が新たに生じない等の基本的性質を持つこと,などの原則を置き,自然 に導かれる計算体系を得た.この計算体系に対応する抽象機械を導出し,操作的意味論を明確化した.. Designing a Call-by-need Lambda Calculus with Control Operator Tatsuya Nishiyama1,a). Yukiyoshi Kameyama1. Presented: November 2, 2011. We present a call-by-need lambda calculus with control operators and an abstract machine for the calculus. Control operators manipulating the control flow, or the evaluation order, of a program is useful when the program has complex control structures or non-local exits. Call-by-need calculi have been actively studied since Ariola et al.’s work, however, most studies target calculi without side effects. Based on our observation that direct style programs is better than monadic style, we introduce the control operators shift and reset into a call-by-need lambda calculus. There are two guiding principles to design the calculus. First, the calculus should be a conservative extension of Ariola et al.’s calculus, and second, it satisfies fundamental properties such as subject reduction. We derive an abstract machine which corresponds to the calculus.. 1. a). 筑波大学大学院システム情報工学研究科コンピュータサイエンス 専攻 Department of Computer Science, Graduate School of Systems and Informating Engineering, University of Tsukuba, Tsukuba, Ibaraki 305–8573, Japan [email protected]. c 2012 Information Processing Society of Japan . 104.

(2)

参照

関連したドキュメント

The main difference between classical and intuitionistic (propositional) systems is the implication right rule, where the intuitionistic restriction is that the right-hand side

One of several properties of harmonic functions is the Gauss theorem stating that if u is harmonic, then it has the mean value property with respect to the Lebesgue measure on all

Furthermore, the following analogue of Theorem 1.13 shows that though the constants in Theorem 1.19 are sharp, Simpson’s rule is asymptotically better than the trapezoidal

In the study of dynamic equations on time scales we deal with certain dynamic inequalities which provide explicit bounds on the unknown functions and their derivatives.. Most of

The maximum likelihood estimates are much better than the moment estimates in terms of the bias when the relative difference between the two parameters is large and the sample size

In an insightful essay, Behringer and Baxter (Mehta [55, page 107]) based on their experimental observations said, “In short, there is a need for a new kind of theory that includes

⑥ニューマチックケーソン 職種 設計計画 設計計算 設計図 数量計算 照査 報告書作成 合計.. 設計計画 設計計算 設計図 数量計算

Our main result below gives a new upper bound that, for large n, is better than all previous bounds..