ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 論文誌(トランザクション)
  2. プログラミング(PRO)
  3. Vol.16
  4. No.3

Toward Type Debugging Using Partial Evaluation

https://ipsj.ixsq.nii.ac.jp/records/227542
https://ipsj.ixsq.nii.ac.jp/records/227542
ea0e323d-6412-4157-aff5-770776ed46e4
名前 / ファイル ライセンス アクション
IPSJ-TPRO1603010.pdf IPSJ-TPRO1603010.pdf (30.2 kB)
Copyright (c) 2023 by the Information Processing Society of Japan
オープンアクセス
Item type Trans(1)
公開日 2023-08-28
タイトル
タイトル Toward Type Debugging Using Partial Evaluation
タイトル
言語 en
タイトル Toward Type Debugging Using Partial Evaluation
言語
言語 eng
キーワード
主題Scheme Other
主題 [発表概要, Unrefereed Presentatin Abstract]
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
著者所属
National Institute of Informatics
著者所属
University of Copenhagen
著者所属(英)
en
National Institute of Informatics
著者所属(英)
en
University of Copenhagen
著者名 Kanae, Tsushima

× Kanae, Tsushima

Kanae, Tsushima

Search repository
Robert, Glück

× Robert, Glück

Robert, Glück

Search repository
著者名(英) Kanae, Tsushima

× Kanae, Tsushima

en Kanae, Tsushima

Search repository
Robert, Glück

× Robert, Glück

en Robert, Glück

Search repository
論文抄録
内容記述タイプ Other
内容記述 In this study, we introduce a method for executing ill-typed programs. There are two advantages to executing an ill-typed program with our method. The first advantage is that after execution, the cause of the type error is easier to find because the distance is smaller between the cause of the type error and the part of the code that conflicts with the error. The second advantage is that even though the language is statically typed, ill-typed programs are executed as much as possible. The idea is to “freeze” the part of the program which is the most likely cause of type errors. Our approach to “transformational debugging” has three phases: In the first phase, we use the error messages from the compiler's type inferencer to “freeze” (dynamize) parts of the program. In the second phase, the type inferencer is used to reduce the number of “frozen” parts. In the third phase, a partial evaluator evaluates the partially “frozen” program. During partial evaluation, the frozen parts are treated as dynamic and, therefore, remain as code without being evaluated, while the other parts are treated as static and are evaluated. In this paper, generic algorithms for our debugging method, two heuristic strategies for the algorithms, and promising preliminary results are presented. We explore a novel avenue for partial evaluation: partial evaluation as a helpful tool for debugging.
論文抄録(英)
内容記述タイプ Other
内容記述 In this study, we introduce a method for executing ill-typed programs. There are two advantages to executing an ill-typed program with our method. The first advantage is that after execution, the cause of the type error is easier to find because the distance is smaller between the cause of the type error and the part of the code that conflicts with the error. The second advantage is that even though the language is statically typed, ill-typed programs are executed as much as possible. The idea is to “freeze” the part of the program which is the most likely cause of type errors. Our approach to “transformational debugging” has three phases: In the first phase, we use the error messages from the compiler's type inferencer to “freeze” (dynamize) parts of the program. In the second phase, the type inferencer is used to reduce the number of “frozen” parts. In the third phase, a partial evaluator evaluates the partially “frozen” program. During partial evaluation, the frozen parts are treated as dynamic and, therefore, remain as code without being evaluated, while the other parts are treated as static and are evaluated. In this paper, generic algorithms for our debugging method, two heuristic strategies for the algorithms, and promising preliminary results are presented. We explore a novel avenue for partial evaluation: partial evaluation as a helpful tool for debugging.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11464814
書誌情報 情報処理学会論文誌プログラミング(PRO)

巻 16, 号 3, p. 33-33, 発行日 2023-08-28
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7802
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-19 12:09:00.124575
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3