make bracket settings a thing to simplify lexing