To include a new program transformation, add a clause for transform/2 (and for transformation/1).
As an alternative, you can add clauses for the multifile predicates transformation/4 and transformation/1, directly in your own sources.
See the file examples/Extending/myspecializer.pl in the source directory for an example of this.
Usage 1:transform(Trans)
Returns on backtracking all available program transformation identifiers.
Usage 2:transform(Trans)
Performs transformation Trans on the current module.
Usage:transformation(Transformation,Clauses,Dictionaries,Info)
Performs Transformation on program Clauses.
Usage:transformation(Transformation)
Transformation is a valid transformation identifier.