Abstract

A language over an alphabet B=A∪A‾B = A \cup \overline{A} of opening (AA) and closing (A‾\overline{A}) brackets, is balanced if it is a subset of the Dyck language DBD_B over BB, and it is well-formed if all words are prefixes of words in DBD_B. We show that well-formedness of a context-free language is decidable in polynomial time, and that the longest common reduced suffix can be computed in polynomial time. With this at a hand we decide for the class 2-TWs of non-linear tree transducers with output alphabet B∗B^* whether or not the output language is balanced.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.