home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / ada / 3261 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.1 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!news!shrike.irvine.com!mark
  2. From: mark@irvine.com (Mark Schimmel)
  3. Newsgroups: comp.lang.ada
  4. Subject: C to Ada translator
  5. Message-ID: <BxMtw5.C5n@irvine.com>
  6. Date: 13 Nov 92 02:07:16 GMT
  7. Organization: Irvine Compiler Corp., Irvine, California, USA
  8. Lines: 37
  9.  
  10. Irvine Compiler Corporation (ICC) has agreed to let me release (in
  11. executable form only for now) the C header file to Ada translator
  12. that I've written.  This is a preliminary trial release to get
  13. feed-back on its Ada portability and performance.  It is my hope that
  14. it will be provided in source form soon.  Please be patient.
  15.  
  16. As an example of how c2ada works, I'm hoping to include an example
  17. that converts X-windows C header files to Ada entirely automatically.
  18. The translation is fast (approximately 6 seconds for all Xlib files on
  19. an HP-9000/710) and (hopefully) 100% complete.  The generated Ada
  20. files should compile using any Ada compiler that supports pragma
  21. INTERFACE (to C) and pragma INTERFACE_NAME.  I'm also including a
  22. "hello world" program which uses the binding.  You will find more
  23. documentation about the implementation details with the release.
  24.  
  25.  
  26. RATIONALE
  27.  
  28. The C programming language enjoys a great deal of popularity thanks to
  29. its free distribution with the Unix operating system and its early
  30. acceptance among the academic community.  Large amounts of useful
  31. software, libraries and algorithms are freely available to C
  32. programmers just for the asking.  I'd like to provide a means of
  33. making this software base easily accessible to Ada programmers as
  34. well.
  35.  
  36.  
  37. DISTRIBUTION
  38.  
  39. Please send me mail if you would like a copy of the translator.  I
  40. will uuencode and send it to you.  Be sure to provide the type of
  41. machine you'd like it to run on (Sparc, Sun-3, PC, SGI, HP, MIPS,
  42. etc.) and the operating system you're using.  I'm not promising to
  43. have a port for your particular target, so be prepared for a "sorry,
  44. its not ready yet" reply.  I am purposely NOT providing the names of
  45. the currently supported hosts because I'm interested in seeing which
  46. systems are being used for Ada development out there in "net-land".
  47.