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!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: example of machine generated Ada ? Date: Thu, 03 Oct 2013 08:14:33 +0200 Organization: Tidorum Ltd Message-ID: References: <87fee75d-04d9-49bb-8cb2-4c5ea7f98cdf@googlegroups.com> <2013100300100162749-rblove@airmailnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net PMVzLeB9gIKtsc865vPXWQLiSIXVnID1c6cFDaoRGDPcfKjTKG Cancel-Lock: sha1:CC5a51Uwky9DwCEkOpmOxx/EoVo= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <2013100300100162749-rblove@airmailnet> X-Original-Bytes: 2100 Xref: number.nntp.dca.giganews.com comp.lang.ada:183582 Date: 2013-10-03T08:14:33+02:00 List-Id: On 13-10-03 07:10 , Robert Love wrote: > On 2013-10-02 17:37:04 +0000, Patrick said: > >> Hi Everyone >> >> I am just daydreaming about generating Ada from another language. >> >> Several languages use C as an intermediate language but hand written C >> is hard to read and machine generated is even more painful. Ada might >> make for reliable, readable machine generated code. >> >> Thanks-Patrick > > There was a product in the 90s called Matrixx, it let you draw flow > charts and type in algorithms and drag connections between components > your created graphically. You pushed the button and out popped some of > the ugliest Ada you can imagine. My point is you can have code > generators but there is no guarantee of the quality, readablity or > maintainablity. If I remember correctly, the motivation for including a goto statement in Ada was that automatic code generators might need it. This perhaps shows what kind of code was expected from such generators... -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .