GPP is a generic pretty-printer package that supports pretty-printing of parse-trees (
AsFix? ) with comment preservation and of
abstract syntax trees.
GPP supports the output formats plain text,
LaTeX?, and HTML. Formattings are defined in
pretty print tables, which can be generated from
SDF syntax definitions.
Tools in
GPP:
- abox2text?
- abox2html?
- abox2latex?
- ast2abox?
- ppgen
- ...
See also:
CategoryPrettyPrint?