Implement {E,}BNF inlining and EBNF pretty printing