Bracketed context-free languages