home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2523 < prev    next >
Encoding:
Text File  |  1992-09-03  |  9.1 KB  |  228 lines

  1. Newsgroups: comp.lang.ada
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!ae
  3. From: ae@sei.cmu.edu (Arthur Evans)
  4. Subject: translating Ada to C (long)
  5. Message-ID: <1992Sep3.131010.5017@sei.cmu.edu>
  6. Sender: netnews@sei.cmu.edu (Netnews)
  7. Organization: Software Engineering Institute
  8. Date: Thu, 3 Sep 1992 13:10:10 GMT
  9. Lines: 217
  10.  
  11. A few days ago I requested help in automating the translation of C to
  12. Ada, suggesting that folks reply to me and that I would summarize.
  13. Here is the promised summary.
  14.  
  15. First, though, an explanation: I said I wanted this information for a
  16. client, and several folks asked why anyone would want to translate Ada
  17. to C.  (Translating the other way is of much greater interest in this
  18. discussion group.)  What my client is interested in is preparing some
  19. new products which will be (for good and sensible reasons) written in C
  20. for use on platforms that may not support Ada compilers.  They have a
  21. lot of algorithms expressed in Ada, most of which are part of products
  22. they have written in Ada, and they want to reuse those algorithms in
  23. their new products.
  24.  
  25. Here are the responses that I received, separated by dashed lines.
  26.  
  27. Art
  28.  
  29. ----------------------------------------------
  30. Arthur Evans, Jr, PhD           Ada Consultant
  31. 461 Fairview Road
  32. Pittsburgh PA  15238-1933
  33. 412-963-0839
  34. ae@sei.cmu.edu
  35.  
  36. ------------------------------------------------------------------------
  37.  
  38. The most interesting response I received was from both Susan Carlson and
  39. Michele Key of the Ada Information Clearing House (AdaIC), who each
  40. provided me a list of COTS products for C to Ada translation (the wrong
  41. direction) described in the AdaIC data base.  Susan Carlson added this
  42. explanation for this response:
  43.     These tools, listed in the AdaIC Products and Tools database as "C
  44.     to Ada" translation tools, may provide some leads for Ada to C
  45.     translation tools.
  46.  
  47. Category:  C to Ada
  48. Tool Name: C to Ada Translation Service
  49. Vendor: Celeris, Inc.
  50.         9430 Topanga Cyn. Blvd., Ste. #207
  51.         Chatsworth, CA  91311   USA
  52.         (818) 709-2181
  53.  
  54. Abstract:
  55.  
  56. Celeris is currently offering a comprehensive service to translate
  57. computer programs written in the C language to equivalent Ada
  58. programs.  Proprietary technology developed at Celeris enables us
  59. to offer this service at a very cost effective price with very
  60. short turnaround times.  Translations can be performed across
  61. hardware platforms and operating systems.  We also offer custom
  62. programming support if the target Ada system does not provide the
  63. same operating system or library capabilities that were available
  64. in the original C system.
  65.  
  66.     This product description has been provided by the vendor.
  67.  
  68.  
  69.  
  70. Category:  C to Ada
  71. Tool Name: PRODOC re/NuSys Workbench
  72. Vendor: Intelligent Micro Systems, Inc.
  73.         1249 Greentree Lane
  74.         Narberth, PA  19072   USA
  75.         (215) 664-1207
  76.  
  77. Abstract:
  78.  
  79. PRODOC re/NuSys Workbench consists of a Designer, Simulator, High
  80. Level Design C Generator, Pseudocode Generator, Reverse Engineer,
  81. Translator and Report Generator, along with full support for
  82. re/NuSys' High Level Design (HLD Library) language and a choice of
  83. two additional languages.  Languages currently available include C,
  84. Ada, Pascal, C++, Fortran and COBOL. The re/NuSys Workbench
  85. provides full life cycle support for most software design, reverse
  86. engineering and code reuse.  With Re/NuSys you reverse engineer
  87. existing code into a visual, hierarchical FLOWform environment
  88. where it can be documented, restructured, regenerated, reused or
  89. even converted into a new language.  You also model any existing or
  90. planned system  and test its logic at a high level of abstraction. 
  91. Successive refinement is continued until contact is made with
  92. available (or assigned) data and process resources.  re/NuSys
  93. operates in interactive mode, or under fully automatic macro
  94. control with batch capabilities.  The re/NuSys Workbench requires
  95. a PC 286/386/486 with a minimum of 2MB RAM. It also is available
  96. under X Windows on Sun, IBM, and other popular UNIX platforms.
  97.  
  98.     This product description has been provided by the vendor.
  99.  
  100.  
  101.  
  102. Category:  C to Ada
  103. Tool Name: XACT
  104. Vendor: Applied Conversion Technology
  105.         415 U.S. Highway 1 - Suite C
  106.         Lake Park, FL  33403   USA
  107.         (407) 844-0000
  108.  
  109. Abstract:
  110.  
  111. ACT's rulebase-driven technology yields compilable, maintainable
  112. Ada comparable to that produced by the typical project team.  The
  113. process creates Ada source of uniformly high quality at high
  114. production rates.  Standard tools provide intelligent,
  115. comprehensive, context-sensitive translations which include:  1)
  116. proper packaging;  2) Format- and scanf/printf-type I/O transformed
  117. to in-line "GET/PUT" sequences (or - optionally - to packaged
  118. function invocations);  3) original comments preserved.  Structure
  119. diagrams and other software-manufacturing working and reference
  120. documentation are automatically generated from semantic data
  121. extracted during translation.  The flexibility and power of ACT's
  122. technology permits the Company to rapidly customize standard tools
  123. to produce organization-specific and application-specific tools. 
  124. Act's proprietary expert-system-based tools currently translate
  125. FORTRAN, C, and various assembly language(s) to Ada.  COBOL-to-Ada
  126. translation is under development.
  127.  
  128.     This product description has been provided by the vendor.
  129.  
  130.  
  131.  
  132. Category:  C to Ada
  133. Tool Name: Xinotech Language Translator
  134. Vendor: Xinotech Research, Inc.
  135.         1313 Fifth Street Southeast, Suite 213
  136.         Minneapolis, MN  55414   USA
  137.         (612) 379-3844
  138.  
  139. Abstract:
  140.  
  141. The Xinotech Language Translator is a language-independent tool for
  142. the automatic translation of sources from one language to another. 
  143. It represents a major advancement in translation technology,
  144. greatly reducing the dollar cost associated with converting
  145. existing systems to Ada.  All aspects of the source to target
  146. mapping (such as abstract grammar semantics, external views,
  147. attribute grammar semantics, abstraction patterns, guideline
  148. assertions, and embedded PDL and 2167A standards) are expressed
  149. formally through external specifications written in XML, the
  150. Xinotech Meta-Language.  This customizability is ideal when
  151. converting from the CMS-2 or Jovial families to Ada or for dealing
  152. with operating system dependencies such as multi-tasking in CMS-2.
  153.  
  154.     This product description has been provided by the vendor.
  155.  
  156.  
  157.  
  158. Category:  C to Ada
  159. Tool Name: PRODOC re/NuSys Workbench
  160. Vendor: Scandura Intelligent Systems
  161.         1249 Greentree
  162.         Narberth, PA  19072   USA
  163.         (215) 664-1207
  164.  
  165. Abstract:
  166.  
  167. re/NuSys Workbench is a system which provides full life cycle
  168. support for most software design, development and maintenance
  169. situations, with special emphasis on software recycling.  Existing
  170. code is reverse engineered into a visual, hierarchical FLOWform
  171. environment where it can be documented, restructured, regenerated,
  172. reused or even converted into a new language.  A model of an
  173. existing or planned system is made and its logic tested at a high
  174. level of abstraction.  Successive refinement is continued until
  175. contact is made with available data and process resources. 
  176. re/NuSys contains the following components:  developer, maintainer
  177. and translator.  There is also a large project version of this
  178. product.
  179.  
  180. This product description has been extracted from information
  181. provided by the vendor.
  182.  
  183. ------------------------------------------------------------------------
  184.  
  185. Here's another response:
  186.  
  187. GE Corporate Research & Development's Computer Science Program built a tool
  188. that translates Ada to C.  It was developed because one of our customers
  189. wanted to maintain our code in C, even though we had developed it in Ada.
  190. However, we never commercialized the tool.  I suspect that it works well on
  191. the Ada code we write, but may not accept full legal Ada.  For example,
  192. I'm almost certain it won't translate tasks to C.
  193.  
  194. We may be willing to make it available, probably for a fee, depending on
  195. the customer and their objective.  For more information contact:
  196. Richard Hammond, GE CRD, Schenectady, NY., 518.387.7478, hammondr@crd.ge.com
  197.  
  198. ------------------------------------------------------------------------
  199.  
  200. Tucker Taft of Intermetrics responded:
  201.  
  202. Several of Meridian Software's Ada compilers are built on top of an
  203. Ada-to-C translator.  Furthermore, they sell the translator separately
  204. as part of an "Ada kit" for building Ada compilers for new targets.
  205. What this means is that their Ada-to-C translator is quite robust,
  206. validated, etc.  and they have a run-time system to go with it (which
  207. you would need to accompany the translated code).  So, you should
  208. mention "Meridian" to your client.
  209.  
  210. ------------------------------------------------------------------------
  211.  
  212. Here's another message along the same lines.
  213.  
  214. Date: Wed, 2 Sep 1992 16:49:05 +0930
  215. From: ptmuller@teaching.cs.adelaide.edu.au (Peetee Moobaa !!)
  216. Message-Id: <9209020719.AA07690@zebedee.teaching.cs.adelaide.edu.au>
  217. To: ae@sei.cmu.edu (Arthur Evans)
  218. Subject: Re: translate Ada to C
  219.  
  220. Yeah... if you get Meridian Ada, it converts the Ada code to C before
  221. compiling the C code to produce the executable!!  This was found out by
  222. checking the running processes during a long compilation one day...
  223.  
  224. I don't think you could actually intercept this C code, but maybe you
  225. could try...
  226.  
  227. Pete Muller.
  228.