Results 1 to 1 of 1

Thread: Printing Slice files with a2ps

  1. #1
    Andreas Scherer is offline Registered User
    Name: Andreas Scherer
    Organization: Private Linux Site
    Project: Evaluating Ice-C++, Ice-Java, Ice-Python, Ice-Ruby
    Join Date
    Mar 2005
    Location
    Berlin, Germany
    Posts
    50

    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
    Code:
    # 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
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 10-14-2010, 03:58 PM
  2. Replies: 1
    Last Post: 03-25-2010, 12:35 PM
  3. Slice compilers unable to parse demo .ice files?
    By asynchronos in forum Help Center
    Replies: 14
    Last Post: 07-17-2008, 07:41 AM
  4. How to compile ice files under folder slice
    By rocshaw in forum Help Center
    Replies: 2
    Last Post: 11-24-2005, 12:09 AM
  5. Including slice files
    By mcrystal in forum Help Center
    Replies: 1
    Last Post: 08-05-2005, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •