Pretty printing con attribute grammar