On Extending Matching Operation in Grammar Programs for Program Inversion

Search this article

Abstract

The inversion method proposed by Gliick and Kawabe uses grammar programs as intermediate results, that comprise sequences of operations (data generation, matching, etc.). The semantics of the grammar programs is denned as a stack machine where data terms are stored in the stack. The matching operation for a constructor symbol pops up the topmost term of the stack and pushes its direct subterms to the stack if the topmost term is rooted by the constructor. This paper strengthens the matching operation by augmenting a parameter that specifies what position the matching operation can look into from the top of the stack. This extension is sometimes effective to avoid the failure execution of the determinization method based on LR parsing described in the latter half of the inversion method.

IEICE Technical Report;SS2012-27,IEICE Technical Report;KBSE2012-29

Journal

References(23)*help

See more

Details 詳細情報について

Report a problem

Back to top