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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.93.19 with SMTP id t19mr12736108qam.3.1380790864623; Thu, 03 Oct 2013 02:01:04 -0700 (PDT) X-Received: by 10.49.64.72 with SMTP id m8mr7309qes.20.1380790864563; Thu, 03 Oct 2013 02:01:04 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!a6no2533967qak.0!news-out.google.com!9ni4992qaf.0!nntp.google.com!q9no2833579qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 3 Oct 2013 02:01:04 -0700 (PDT) In-Reply-To: <87fee75d-04d9-49bb-8cb2-4c5ea7f98cdf@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 206.122.158.4 References: <87fee75d-04d9-49bb-8cb2-4c5ea7f98cdf@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: example of machine generated Ada ? From: gautier_niouzes@hotmail.com Injection-Date: Thu, 03 Oct 2013 09:01:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17388 Date: 2013-10-03T02:01:04-07:00 List-Id: Actually, as you guess, you get plenty of advantages for free with machine-generated code: strong typing, type safety of enumerated types, data completeness etc. You can generate from various sources. In my hobby projects on Sourceforge, I have code generators from VRML, Doom 3 universes, Windows resources for instance. Professionally I have moved many "invariant" data from databases into Ada sources. The perfoermance and maintability gains are tremendous. G.