Abstract
Parenn is the typical generalization of the Dyck language to multiple types of parentheses. We generalize its notion of balancedness to allow parentheses of different types to freely commute. We show that balanced regular and ω-regular languages can be characterized by syntactic constraints on regular and ω-regular expressions and, using the shuffle on trajectories operator, we define grammars for balanced-by-construction expressions with which one can express every balanced regular and ω-regular language.
Original language | English |
---|---|
Pages (from-to) | 117-144 |
Number of pages | 28 |
Journal | Int. J. Found. Comput. Sci. |
Volume | 34 |
Issue number | 2&3 |
DOIs | |
Publication status | Published - Feb 2023 |