[enh] don't break \n in associative parenthesis
[mod] update TODO
[mod] simplify code