(An) efficient computation of right context for LR based error repairLR에 근간을 둔 오류보정을 위한 우문맥의 효율적인 계산

Cited 0 time in webofscience Cited 0 time in scopus
  • Hit : 366
  • Download : 0
DC FieldValueLanguage
dc.contributor.advisorChoe, Kwang-Moo-
dc.contributor.advisor조광무-
dc.contributor.authorJung, Min-Soo-
dc.contributor.author정민수-
dc.date.accessioned2011-12-13T05:23:00Z-
dc.date.available2011-12-13T05:23:00Z-
dc.date.issued1994-
dc.identifier.urihttp://library.kaist.ac.kr/search/detail/view.do?bibCtrlNo=69082&flag=dissertation-
dc.identifier.urihttp://hdl.handle.net/10203/33010-
dc.description학위논문(박사) - 한국과학기술원 : 전산학과, 1994.2, [ 99 p. ]-
dc.description.abstractThe left context in LR-based parsing can be defined as the sequence of states in the parsing stack. The right contexts are the expected vocabulary strings that will appear for a given left context. One of the important applications of right contexts is syntax error repair. If a syntax error occurs during a parsing, right contexts may be used to get an insertion string that corrects the syntax error. An LR-based parser, however, requires additional space and time in computing right contexts since an LR parsing stack contains the vocabulary strings that have been seen until now, whereas an LL parsing stack contains the expected vocabulary strings from this point. For the practical programming languages, however, the LR parser is required for deterministic parsing. Hence the methods of computing right contexts for an LR-based parser have been studied by many researchers. One of the principle sources of the inefficiencies of the previous methods, in our view, comes from the fact that there are multiple kernel items in an LR(0) state. In general, there are many LR(0) states that contain multiple kernel items. In previous works, the right contexts for an LR(0) state are considered as the union of the right contexts for each kernel item in the state. Our investigation has been devoted to the relationships between the kernel items in the same state. We have found that every kernel item in the same state has the common suffixes in computing right contexts in most cases. By means of factoring out the common suffixes at parser generation time, it is possible to avoid some redundant computations of right contexts at parsing time. Also, through defining the right contexts for LR(0) states, not for LR(0) kernel items, we develop an efficient method of computing right contexts such that our method simplifies the previous diverging algorithm into a linear algorithm.eng
dc.languageeng-
dc.publisher한국과학기술원-
dc.subjectLR.-
dc.title(An) efficient computation of right context for LR based error repair-
dc.title.alternativeLR에 근간을 둔 오류보정을 위한 우문맥의 효율적인 계산-
dc.typeThesis(Ph.D)-
dc.identifier.CNRN69082/325007-
dc.description.department한국과학기술원 : 전산학과, -
dc.identifier.uid000865391-
dc.contributor.localauthorChoe, Kwang-Moo-
dc.contributor.localauthor조광무-
Appears in Collection
CS-Theses_Ph.D.(박사논문)
Files in This Item
There are no files associated with this item.

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0