From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Use of c2ada by someone who does not know C Date: Fri, 27 Sep 2013 19:59:36 +0100 Organization: A noiseless patient Spider Message-ID: References: <2280f47d-81bf-4fb5-8d51-60b96f9d5fd1@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="efa74e8377ee8d65bf4cce5dc399bc92"; logging-data="10014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yhqOEJOz4ElmVO2Oo6clqP+h5lhezpOs=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:zUdRWahGzbnF6HwAufIC8CtkYJg= sha1:P0dv8LsbgJYG5ehnwSSVEv+jH/8= X-Original-Bytes: 1623 Xref: number.nntp.dca.giganews.com comp.lang.ada:183493 Date: 2013-09-27T19:59:36+01:00 List-Id: karhof21@gmail.com writes: > This question is for those who are familiar with c2ada. > > Are there any limitations of c2ada? Or can we expect all C programs to > be smoothly translated into Ada? > > Is c2ada a useful tool for someone who does not know C at all, and who > simply wants to translate C programs into Ada code? > Or is some knowledge of C required? > > Finally, are comments preserved in the translated code? See my last comment on this subject [1]; this was in reply to someone who couldn't get "hello, world" translated. [1] https://groups.google.com/d/msg/comp.lang.ada/RwBY4aw3lQk/3EEiL_WypU8J