Pretprin is a LaTeX 2e package performing WEAVE-like pretty-printing
of pieces of computer programs embedded in computer science texts.
It is implemented entirely in TeX's macro language.
Currently there are four formatting modules: the module for
algorithmic language Pascal, for metamorphosis grammars, for Prolog
language (still under development) and a simple module for terms
serving as an example of a module definition.