On regular tree languages and deterministic pushdown automata

被引:10
|
作者
Janousek, Jan [1 ]
Melichar, Borivoj [2 ]
机构
[1] Czech Tech Univ, Dept Comp Sci, Fac Informat Technol, Prague 16000 6, Czech Republic
[2] Czech Tech Univ, Dept Comp Sci & Engn, Fac Elect Engn, Prague 12135 2, Czech Republic
关键词
39;
D O I
10.1007/s00236-009-0104-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The theory of formal string languages and of formal tree languages are both important parts of the theory of formal languages. Regular tree languages are recognized by finite tree automata. Trees in their postfix notation can be seen as strings. This paper presents a simple transformation from any given (bottom-up) finite tree automaton recognizing a regular tree language to a deterministic pushdown automaton accepting the same tree language in postfix notation. The resulting deterministic pushdown automaton can be implemented easily by an existing parser generator because it is constructed for an LR(0) grammar, and its size directly corresponds to the size of the deterministic finite tree automaton. The class of regular tree languages in postfix notation is a proper subclass of deterministic context-free string languages. Moreover, the class of tree languages which are in their postfix notation deterministic context-free string languages is a proper superclass of the class of regular tree languages.
引用
收藏
页码:533 / 547
页数:15
相关论文
共 50 条