home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / ada / 2551 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.3 KB  |  55 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!Sirius.dfn.de!hpux.rz.uni-jena.de!mwj
  3. From: mwj@rz.uni-jena.de (Johannes Waldmann)
  4. Subject: Re: tgrindef for ada? --- SUMMARY
  5. Message-ID: <1992Sep08.112138.18146@rz.uni-jena.de>
  6. Summary: Yes, here it is.
  7. Organization: University Jena, Germany
  8. References: <1992Sep06.160838.19963@rz.uni-jena.de>
  9. Date: Tue, 08 Sep 1992 11:21:38 GMT
  10. Lines: 43
  11.  
  12. A few days ago I asked for `tgrindef' definitions for Ada.
  13. `tgrind' is anonymously ftp-able from various sites. Its README says:
  14.  
  15. > This is a pretty printer similar to 4bsd's "vgrind" except it uses
  16. > TeX instead of troff.  It was written by Van Jacobson of Lawrence
  17. > Berkeley Laboratory (van@lbl-csam.arpa).
  18.  
  19. It turned out that `tgrindefs' are the same as `vgrindefs', and 
  20. Alex Blakemore (alex@cs.umd.edu) sent me this
  21. -----------------------------------------------------------------------------
  22. ada|Ada|a:\
  23.         :pb=^\d?procedure|function|task|package(\dbody)?(\dtype)?\d\p\d|\
  24. \(|;|return|is:\
  25.         :bb=\d(begin|case|if|loop|record)\d:\
  26.         :be=\dend\d\p:\
  27.         :cb=--:ce=$:\
  28.         :sb=":se=":\
  29.         :oc:\
  30.         :kw=abort abs accept access all and array at begin body case constant\
  31.         declare delay delta digits do else elsif end entry exception exit for\
  32.         function generic goto if in is limited loop mod new not null of or\
  33.         others out package pragma private procedure raise range record rem\
  34.         renames return reverse select separate subtype task terminate then\
  35.         type use when while with xor:
  36. -----------------------------------------------------------------------------
  37. which works prefectly well. Furthermore, Alex Blakemore (alex@cs.umd.edu) said:
  38.  
  39. > also, I am working on something much better than vgrind
  40. > thats 100% Ada specific - but it wont be done for a while,
  41. > at least not if I keep reading USENET.
  42. > if you were referring to a tool besides vgrind,
  43. > please let me know.  I am always looking for related Ada tools.
  44.  
  45. David Emery (emery@74sun.mitre.org or emery@mitre-bedford.arpa ... my
  46. mailer couldn't reach either of those addresses) said:
  47.  
  48. > I have a lex script that marks-up Ada for various word processors,
  49. > including versions for Scribe, the POSIX mm-based TROFF macro set and
  50. > MicrosoftWord (RTF).
  51.  
  52. So thanks to you all for prompt replies.  Johannes Waldmann
  53.  
  54.  
  55.