Parenn is the typical generalisation of the Dyck language to multiple types of parentheses. We generalise its notion of balancedness to allow parentheses of different types to freely commute. We show that balanced regular and ω -regular languages can be characterised 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.
|Number of pages||13|
|Publication status||Published - 6 Aug 2021|
|Event||25th International Conference on Developments in Language Theory 2021 - Porto, Portugal|
Duration: 16 Aug 2021 → 20 Aug 2021
|Conference||25th International Conference on Developments in Language Theory 2021|
|Abbreviated title||DLT 2021|
|Period||16/08/21 → 20/08/21|