A Study of Error Correction and Recovery for SLR(k) Parsers
スポンサーリンク
概要
- 論文の詳細を見る
We have proposed the practical error correcting and recovering algorithms for the SLR(k) parsers. First, we define the i-order valid pair for a LR(0) table T and a k-termlnal string w. Let (T_0...T_n, a_j...a_m) be an error configuration. If (T_n,a_h-.a_<h+k-1>,) is the i-order valid pair for someβεΣ^i, we correct the above configuration to (T_0 . . ..T_n,βa_h...a_m). If we extend β in the definition above to βε(N∪Σ)^i, then we can make error recovery in the same way. Most useful is the case i=0 or 1. In these cases , the i-order valid pairs can be stored in the SLR(k) parsing table. The SLR(k) parser with these algorithms can parse and correct an input with 1ength n within O(n) time.We have shown by simulation that the algorithm corrects60-800% of the programs with errors.
- 一般社団法人情報処理学会の論文
著者
-
Kaijiri Kenji
Faculty Of Engineering Shinsyu University
-
Kaijiri Kenji
Faculty Of Engineering Information Engineering
-
UCHINAMI Seiichi
Faculty of Engineering, Osaka University
-
TEZUKA Yoshikazu
Faculty of Engineering, Osaka University
-
Tezuka Yoshikazu
Faculty Of Engineering Osaka University
-
Uchinami Seiichi
Faculty Of Engineering Osaka University
-
Uchinami Seiichi
Faculty Of Computer Science And Systems Engineering Kyushu Institute Of Technology
関連論文
- Extended Weak Precedence Functions
- A Study of Error Correction and Recovery for SLR(k) Parsers
- HELP:Interactive Programming System
- N-14 Application of the Kolb Learning Model in the Design of a Course
- Special Section on Knowledge-Based Software Engineering
- Support tool for an Internet based workshop
- A Method to Develop Feasible Requirements for Java Mobile Code Application
- Information Exchange and Security in a Collaborative Development Support System for Object-Oriented Software