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.52.179.138 with SMTP id dg10mr6675991vdc.2.1391848395322; Sat, 08 Feb 2014 00:33:15 -0800 (PST) X-Received: by 10.140.107.138 with SMTP id h10mr385679qgf.2.1391848395300; Sat, 08 Feb 2014 00:33:15 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!f11no13654223qae.1!news-out.google.com!y18ni6168qap.1!nntp.google.com!f11no13654217qae.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 8 Feb 2014 00:33:15 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.91.37.131; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 87.91.37.131 References: <5a341bef-ace4-468c-b5b6-55d46868d802@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0960c4ef-5a03-4a92-b0c8-426581fb3b21@googlegroups.com> Subject: Re: Tools Generating Ada From: vincent.diemunsch@gmail.com Injection-Date: Sat, 08 Feb 2014 08:33:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2265 Xref: number.nntp.dca.giganews.com comp.lang.ada:184718 Date: 2014-02-08T00:33:15-08:00 List-Id: Le vendredi 7 f=E9vrier 2014 10:41:15 UTC+1, Simon Wright a =E9crit=A0: > vincent D. writes: >=20 >=20 >=20 > > I have a question regarding Ada Code Generation tools, like Aflex / >=20 > > Ayacc for instance. How can I insert them into the automatic build >=20 > > process ? I use GNAT=A0GPL, so is it possible to create a GPRBuild >=20 > > project that generates Ada files from an AYacc source and then compile >=20 > > the Ada sources ? Do I need to use a make file ? Where can I find >=20 > > examples ? >=20 >=20 >=20 > This looks to be related: >=20 > http://www.adacore.com/adaanswers/gems/gem-155-enhancing-gprbuild-databas= e-for-new-language/ Thanks all for your responses. I certainly will use a makefile, but I hoped someone has used GPRBuild to d= o that, defining a new language, and using a "subsystem" or "subproject" fo= r code generation. But as Pascal mentioned the big question is will GPRBuil= d handle correcty the fact that some Ada source files have been modified by= the subproject. It needs a try ! Regards, Vincent