This module allows the colorizing of Prolog texts inside a HTML
page. By extending the scanner from the Prolog system we read
tokens and fillers. These are then rendered using various
character style classes. Multi-line tokens and fillers are broken
up and newline characters are inserted. This allows a colorizing
target which is a pre HTML element.
The same colorizing of tokens is also used when the predicate write_term/[2,3] is called with the colorized option set to true. As a convenience we provide the additional predicate print_term/[2,3] and display_term/2,3] which do check the flags of the output stream to enable certain features. Besides colorizing we also offer cycle breaking.
The following fancy predicates are provided: