An Analysis for Fast Construction of States in the Bottom-Up Tree Pattern Matching Scheme

Kyung-Woo KANG  Kwang-Moo CHOE  Min-Soo JUNG  

IEICE TRANSACTIONS on Information and Systems   Vol.E82-D   No.5   pp.973-976
Publication Date: 1999/05/25
Online ISSN: 
Print ISSN: 0916-8532
Type of Manuscript: PAPER
Category: Sofware System
compiler,  code generator generator,  tree grammar,  dynamic programming,  

Full Text: PDF>>
Buy this Article

In this paper, we propose an efficient method of constructing states in bottom-up tree pattern matching with dynamic programming technique for optimal code generation. This method can be derived from precomputing the analysis which is needed for constructing states. The proposed scheme is more efficient than other scheme because we can avoid unfruitful tests in constructing states at compile time. Furthermore, the relevant analyses needed for this proposal are largely achieved at compile-compile time, which secures actual efficiency at compile time.