Pretty printer made compatible with frenetic grammar