首页 | 本学科首页   官方微博 | 高级检索  
     


On regular tree languages and deterministic pushdown automata
Authors:Jan Janoušek  Bořivoj Melichar
Affiliation:1.Department of Computer Science, Faculty of Information Technologies,Czech Technical University in Prague,Praha 6,Czech Republic;2.Department of Computer Science and Engineering, Faculty of Electrical Engineering,Czech Technical University in Prague,Prague 2,Czech Republic
Abstract: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.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号