Is there a nice way to give context free grammar for $$\{a^nb^ma^kb^l:n+m=k+l\}?$$
From PDA point of view it seems we just push + on stack if we see a, push + on stack if we see b, pop + from stack if we see a, pop + from stack if we see b and accept if you have empty stack.