ログイン 新規登録
言語:

WEKO3

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

Field does not validate



インデックスリンク

インデックスツリー

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

WEKO

One fine body…

WEKO

One fine body…

アイテム

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

信頼性を導入した構文エラー処理

https://ipsj.ixsq.nii.ac.jp/records/16489
https://ipsj.ixsq.nii.ac.jp/records/16489
fad70dbc-fd4a-4019-b00c-d7e03c8f28fe
名前 / ファイル ライセンス アクション
IPSJ-TPRO4901019.pdf IPSJ-TPRO4901019.pdf (35.2 kB)
Copyright (c) 2008 by the Information Processing Society of Japan
オープンアクセス
Item type Trans(1)
公開日 2008-01-15
タイトル
タイトル 信頼性を導入した構文エラー処理
タイトル
言語 en
タイトル Syntax Error Handling Method with Reliability
言語
言語 jpn
キーワード
主題Scheme Other
主題 発表概要
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
著者所属
熊本大学大学院自然科学研究科
著者所属
熊本大学工学部技術部
著者所属
熊本大学大学院自然科学研究科
著者所属
熊本大学大学院自然科学研究科
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者所属(英)
en
Department of Technology of Technical Division,Kumamoto University
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者所属(英)
en
Graduate School of Science and Technology, Kumamoto University
著者名 竹森, 彬 上田, 誠 木山, 真人 芦原, 評

× 竹森, 彬 上田, 誠 木山, 真人 芦原, 評

竹森, 彬
上田, 誠
木山, 真人
芦原, 評

Search repository
著者名(英) Akira, Takemori Makoto, Ueda Masato, Kiyama Hyou, Ashihara

× Akira, Takemori Makoto, Ueda Masato, Kiyama Hyou, Ashihara

en Akira, Takemori
Makoto, Ueda
Masato, Kiyama
Hyou, Ashihara

Search repository
論文抄録
内容記述タイプ Other
内容記述 コンパイラの重要な処理の中に構文解析という処理があり,構文解析を行うプログラム(パーサ)を生成するには,パーサジェネレータを用いる.既存のパーサジェネレータによって自動生成されたパーサは,誤り(プログラム中のエラー)を適切に処理する機能を持たないか,あるいは持っていても最低限の機能だけである場合が多い.著名なパーサジェネレータの1 つであるyacc で誤り処理を行うには,誤り規則という文法規則とは異なる規則をユーザが明示的に記述せねばならない.この誤り規則の記述は複雑で,ユーザの負担になりがちである.一方,slk やtcllk などのように,特にユーザが指定しなくても誤り処理機能を付加するジェネレータがある.しかし,これらのジェネレータが生成するパーサは,誤り状態から復帰して解析を続けられるが,複数の誤り修正候補を指摘するような機能は持たない.そのような機能付加はユーザの負担となる.上記の負担を削減するには,パーサジェネレータが多機能な誤り処理機能を含めたパーサを生成できればよい.本発表では問題点を解決するため,“誤り距離” という既存の概念に“信頼性” を追加した新たな手法を提案する.提案手法を当研究室で作成されたパーサジェネレータに実装し,評価を行った.評価の結果,パーサジェネレータから自動生成が可能,複数の誤り修正候補を表示,2 つ以上の誤りに対応できることを確認した.
論文抄録(英)
内容記述タイプ Other
内容記述 Parsing is important processing of the compiler. The program that does parsing (parser)is generated with parser-generator. Most of the existing parser that generated with parsergenerator doesn’t appropriately handle the syntax error, or has only minimum function for it.To handle the syntax error with yacc that is one of famous parser-generator, the user should describe specifying error recovery rule different from the grammatical rule. The description of this error recovery rule tends to be complex, and so the user becomes burden. To reduce the user’s burden mentioned above, parser-generator should be able to generate a parser including the syntax error handling that is many functions. To solve the problem in this research, it proposes a new method for adding “reliability” to an existing concept “error distance”. We implement the proposal method on parser-generator which was implemented by us, and evaluate.As a result of the evaluation, we checked handling two or more errors, the advantage of an old method of being possible to generate from parser-generator and displaying two or more error correction candidates as it was.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AA11464814
書誌情報 情報処理学会論文誌プログラミング(PRO)

巻 49, 号 SIG1(PRO35), p. 134-134, 発行日 2008-01-15
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7802
出版者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2025-01-22 23:51:02.621050
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