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!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Tools Generating Ada Date: Fri, 07 Feb 2014 10:34:32 +0100 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87mwi3mfkn.fsf@adaheads.sparre-andersen.dk> References: <5a341bef-ace4-468c-b5b6-55d46868d802@googlegroups.com> NNTP-Posting-Host: monowall.adaheads.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: loke.gir.dk 1391765673 27638 86.48.41.195 (7 Feb 2014 09:34:33 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 7 Feb 2014 09:34:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:VWIZOTBQ+tyd+m/79CpHlbuuHkc= X-Original-Bytes: 1893 Xref: number.nntp.dca.giganews.com comp.lang.ada:184700 Date: 2014-02-07T10:34:32+01:00 List-Id: vincent.diemunsch@gmail.com writes: > I have a question regarding Ada Code Generation tools, like Aflex / > Ayacc for instance. How can I insert them into the automatic build > process ? I use GNAT GPL, so is it possible to create a GPRBuild > project that generates Ada files from an AYacc source and then compile > the Ada sources ? Do I need to use a make file ? Where can I find > examples ? You should be able to do it with GPRBuild. I haven't tried yet. I use make files for that kind of problems. Some examples: http://repositories.jacob-sparre.dk/alsa-binding http://repositories.jacob-sparre.dk/photo-blog http://repositories.jacob-sparre.dk/gnatcoll-orm-foreign-key-twins Greetings, Jacob -- "[...] *transfer* a bit of salary from the person who writes a bug to the person that finds a bug..." -- Keith Ray