Archived

This forum has been archived. Please start a new discussion on GitHub.

Printing Slice files with a2ps

Greetings,

If you want to pretty-print Slice files with a2ps (http://www.gnu.org/software/a2ps/), you can add the attached file slice.ssh to the style-sheet collection (in /usr/share/a2ps/sheets) and make an entry in sheets.map like
# ZeroC Ice Specification Language
slice: /*.ice/

This initial version prints all Slice keywords from appendix A in bold and formats comments and strings as in C/C++.

Cheers,
Andreas