서지주요정보
Error repair with validation in LR-based parsing = LR 구문 분석에서의 오류 보정과 검증
서명 / 저자 Error repair with validation in LR-based parsing = LR 구문 분석에서의 오류 보정과 검증 / Ik-Soon Kim.
발행사항 [대전 : 한국과학기술원, 2002].
Online Access 원문보기 원문인쇄

소장정보

등록번호

8013719

소장위치/청구기호

학술문화관(문화관) 보존서고

DCS 02019

휴대폰 전송

도서상태

이용가능(대출불가)

사유안내

반납예정일

리뷰정보

초록정보

When the compiler encounters an error symbol in an erroneous input, the local error repair method repairs the input by either inserting a repair string before the error symbol or deleting the error symbol. Although the extended FMQ of Fischer et al. and the method of McKenzie et al. report the improved quality of diagnostic messages, they suffer from redundant parse stack configurations. This thesis proposes an efficient LR error recovery method, with validation removing repairs that give the same validation result as a previously considered lower-cost repair. Moreover, its execution speed is proportional to the length of the stack configuration. The algorithm is implemented on a Bison, GNU LALR(1), parser generating system. Experimental results are presented.

컴파일러가 문법 오류를 발견했을 때, 국부적 오류 보정 모델은 심볼앞에 적당한 스트링을 삽입하거나, 심볼을 삭제함으로써 문법 오류 보정을 시도한다. 등의 확장된 FMQ 방법과 McKenzie 등의 방법은 방법들에 비하여 향상된 에러 메시지를 제공해주지만, 구문 분석 스택 배치 상태를 중복하여 발생시킨다는 단점이 있다. 논문은 LR 구문 분석에서의 효율적인 오류 보정과 검증 방법을 제시한다. 방법은 기존의 방법에서는 더 낮은 삽입 비용이라고 간주되었으나 동일한 구문 분석 스택 배치 상태를 발생시키는 오류 보정 삽입 제거함으로써 오류 보정 정확성과 속도를 향상시키고 있다. 방법에서 오류 보정 시간은 문법 오류가 발생한 순간의 구문 분석 스택 심볼들의 길이에 비례한다. 논문이 제시한 방법은 Bison (GNU가 제작한 LALR 구문 분석 생성기) 구현되어 실험되었으며 실험 결과는 본 논문에 제시되어 있다.

서지기타정보

서지기타정보
청구기호 {DCS 02019
형태사항 50 p. : 삽화 ; 26 cm
언어 영어
일반주기 저자명의 한글표기 : 김익순
지도교수의 영문표기 : Kwang-Moo Choe
지도교수의 한글표기 : 최광무
수록잡지명 : "Error repair with validation in LR-based parsing". ACM TOPLAS (transactions on programming languages and systems), v.23 no.4, pp. 451-471 (2002 Jul.)
학위논문 학위논문(박사) - 한국과학기술원 : 전산학전공,
서지주기 Reference : p. 47-49
QR CODE

책소개

전체보기

목차

전체보기

이 주제의 인기대출도서