WEKO3
アイテム
GNU形式コマンドプログラムへのメタプログラミングを用いたAOPの適用
https://ipsj.ixsq.nii.ac.jp/records/16789
https://ipsj.ixsq.nii.ac.jp/records/16789d5ce708d-3cac-479d-855c-892314f5d7bb
| 名前 / ファイル | ライセンス | アクション |
|---|---|---|
|
|
Copyright (c) 2002 by the Information Processing Society of Japan
|
|
| オープンアクセス | ||
| Item type | Trans(1) | |||||||
|---|---|---|---|---|---|---|---|---|
| 公開日 | 2002-09-15 | |||||||
| タイトル | ||||||||
| タイトル | GNU形式コマンドプログラムへのメタプログラミングを用いたAOPの適用 | |||||||
| タイトル | ||||||||
| 言語 | en | |||||||
| タイトル | An Application of AOP with Meta - programming to a GNU - type Command Program | |||||||
| 言語 | ||||||||
| 言語 | jpn | |||||||
| キーワード | ||||||||
| 主題Scheme | Other | |||||||
| 主題 | 発表概要 | |||||||
| 資源タイプ | ||||||||
| 資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
| 資源タイプ | journal article | |||||||
| 著者所属 | ||||||||
| 滋賀県立大学工学部 | ||||||||
| 著者所属(英) | ||||||||
| en | ||||||||
| School of Engineering, The University of Shiga Prefecture | ||||||||
| 著者名 |
長谷, 英明
× 長谷, 英明
|
|||||||
| 著者名(英) |
Hideaki, Hase
× Hideaki, Hase
|
|||||||
| 論文抄録 | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | プログラムに散在する特定の関心に関連する断片を集約するプログラミング手法であるAOP(Aspect-Oriented Programming )が注目されている.本研究では,その有効な適用法と言語サポートを開拓することを目的として,AOPを適用してGNU形式のコマンドラインスイッチを持つ簡易版のlsプログラムを作成してみた.広範な可能性を視野に含めるために,手法としてはメタプログラミングを用い,結節点を単純な元プログラムの文等を単位に識別語句で指定し,追加機能は個々の関心についてそれらの結節点を対象とする編集操作のプログラムとして記述した.また,コマンドラインスイッチについては専用ウィーバを作成し,スイッチの追加やそれによるデフォルト動作の変更を対応する追加機能のプログラム中にパラメトリックに記述できるようにした.これらの試みは,いずれもAOPの有効性を支持した.本発表では,この事例をもとに有効な結節点の設定方法と再利用性の高いウィーバの設計方法,ならびにそれらを支援するための言語サポートについて議論する. | |||||||
| 論文抄録(英) | ||||||||
| 内容記述タイプ | Other | |||||||
| 内容記述 | AOP (aspect-oriented programming) that is the programming method of concentrating fragments related to a certain concern scattered over a program holds the spotlight. In this research, a program of a reduced version of ls with GNU-type command-line switches was tried to make applyingAO on purpose to exploit its effective way to apply and support by language;using meta-programming, specifying joint points by a statement of a simple base program with identifying phrases, and describing functions to add for each concern one by one as a program of editing operations to the joint points, as to method. As for command-line switches, a special weaver was made to allow to describe parametrically addition of a switch and modification of default behavior in the correspondingprogram of the function to add. These trials stood for usefulness of the AO . In this presentation, based on this example, defective method of specifying joint points, method of designing weavers with high re-usability, and supports by language to aid them are discussed. | |||||||
| 書誌レコードID | ||||||||
| 収録物識別子タイプ | NCID | |||||||
| 収録物識別子 | AA11464814 | |||||||
| 書誌情報 |
情報処理学会論文誌プログラミング(PRO) 巻 43, 号 SIG08(PRO15), p. 120-120, 発行日 2002-09-15 |
|||||||
| ISSN | ||||||||
| 収録物識別子タイプ | ISSN | |||||||
| 収録物識別子 | 1882-7802 | |||||||
| 出版者 | ||||||||
| 言語 | ja | |||||||
| 出版者 | 情報処理学会 | |||||||