• Title/Summary/Keyword: LR 파싱

Search Result 21, Processing Time 0.015 seconds

A Research on the Simplification of the Expression Attribute Grammar (수식 속성 문법 단순화에 대한 연구)

  • Chung, Yong-Ju
    • Journal of Korea Multimedia Society
    • /
    • v.14 no.2
    • /
    • pp.282-287
    • /
    • 2011
  • The attribute grammar is a grammar for static semantic rules to overcome the difficulties of type checking. But this attribute grammar is difficult to write and understand by its additional rules. A grammar would be preferable if it has simple and small size of an attribute grammar. This paper shows how to decrease the size of an attribute grammar for an expression using LH method. This approach considers the types of an expression. That is, the construction of a semantic relation between the types of the expression can make it possible that an attribute grammar be written with its simpler and smaller size.