@article{oai:ipsj.ixsq.nii.ac.jp:00101710,
 author = {関口, 渚 and 倉光, 君郎 and Nagisa, Sekiguchi and Kimio, Kuramitsu},
 issue = {2},
 journal = {情報処理学会論文誌プログラミング(PRO)},
 month = {Jun},
 note = {既存のシェル言語処理では,終了ステータスやtrapコマンドを利用することで,エラー処理を記述することができる.しかし,これらの手法ではエラー原因を判別することが困難であるため,詳細なエラー処理が記述できないという問題があった.我々は,この問題を解決するため,例外処理機能を備えたシェル言語処理系D-Shellを提案する.D-Shellはコマンドが発行するシステムコールを追跡する.コマンドが異常終了した際,システムコールエラーを基にエラー原因を推定し,例外として発行する機能を備える.例外に対する処理を記述することで,エラー原因に応じたエラー処理が実現できる.評価を行ったところ,エラー原因を識別し適切な例外が発行されたことを確認した.本論文では,例外機構を中心にD-Shellの設計,実装について述べる., We can describe the error handling in the existing shell language, by making use of the trap command and exit status. However, there is a problem specific error handling can not be described, because it is difficult to determine the cause of the error in these technique. To address this problem, we propose D-Shell, a shell language with exception handling. D-Shell keeps track of the system call issued by the command. It has a function that estimates the cause of the error based on the system call error and issues it as an exception when a command failed. By describing the processing for the exception, the error processing corresponding to the cause of the error can be realized. When we evaluated D-Shell, we confirmed that the appropriate exception is issued to identify the cause of the error. In this paper, we describe the design and implementation of the D-Shell around the exception mechanism.},
 pages = {11--19},
 title = {例外処理機能を備えたシェル言語},
 volume = {7},
 year = {2014}
}