Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]

Arc de Triomphe clipart (2486 bytes)Eiffel pretty-printer

Author unknown. From the SIG Eiffel/S "public domain" collection.

spretty.zip (16,671 bytes) - Eiffel/S source
epretty.zip (53,797 bytes) - DOS executable

A pretty-printer/formatter for Eiffel/S

The program spretty works with "<" and ">" to redirect the input and output.

For example:

spretty < x.e

displays a formatted version of x.e on the display.

To format a class in place, use the batch program pretty, with the file name excluding the ".e" suffix. For example:

pretty x

formats the class X (in file x.e). The original file is copied to x.bak.

Home Page ] [ Eiffel Archive ] [ Eiffel Classes and Clusters ]