Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there software that generates a pretty PostScript file from Ada source code?

0
10 Posted

Is there software that generates a pretty PostScript file from Ada source code?

0

Pretty Ada code in PostScript means that e.g. reserved words are in bold and comments are in italics. This is a separate issue from re-formatting and automatic indenting. If you use the new Ada Mode for GNU Emacs (available from ftp://cs.nyu.edu/pub/gnat), go and get the package ps-print.el from any emacs archive (e.g. in directory ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive). With this package you can print your code as you see it on the screen, say with bold keywords and italic comments. Another possibility is to feed the source to “vgrind” (see below), then pipe the result through “pscat” (to get PostScript) or “lpr -t” (to print), e.g.

0

Pretty Ada code in PostScript means that e.g. reserved words are in bold and comments are in italics. This is a separate issue from re-formatting and automatic indenting. Auburn University has been working on a project called GRASP, located at http://www.eng.auburn.edu/department/cse/research/grasp/ which is something of an IDE for Ada and other languages. It does excellent Postscript printing of Ada code. If you use the new Ada Mode for GNU Emacs (available from ftp://cs.nyu.edu/pub/gnat), go and get the package ps-print.el from any emacs archive (e.g. in directory ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive). With this package you can print your code as you see it on the screen, say with bold keywords and italic comments. Another possibility is to feed the source to “vgrind” (see below), then pipe the result through “pscat” (to get PostScript) or “lpr -t” (to print), e.g.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.