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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:8e83:: with SMTP id q125mr25867431iod.9.1546004312555; Fri, 28 Dec 2018 05:38:32 -0800 (PST) X-Received: by 2002:aca:5395:: with SMTP id h143mr321691oib.6.1546004312399; Fri, 28 Dec 2018 05:38:32 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!q69no50743itb.0!news-out.google.com!v141ni109ita.0!nntp.google.com!q69no50742itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 28 Dec 2018 05:38:32 -0800 (PST) In-Reply-To: <73eb9d07-b3cf-4d3b-9802-eeb148a0c2e0@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=185.30.132.97; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 185.30.132.97 References: <73eb9d07-b3cf-4d3b-9802-eeb148a0c2e0@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0d16f930-33ce-4e62-bc63-4719199b4e02@googlegroups.com> Subject: Re: ANTLR grammar for Ada available From: Vincent DIEMUNSCH Injection-Date: Fri, 28 Dec 2018 13:38:32 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55113 Date: 2018-12-28T05:38:32-08:00 List-Id: Le vendredi 28 d=C3=A9cembre 2018 10:32:49 UTC+1, oliverm...@gmail.com a = =C3=A9crit=C2=A0: > Since ANTLR version 2 is very outdated and the links to v2 grammars are m= ostly dead, I have resurrected the project on GitHub: >=20 > https://github.com/okellogg/ada_antlr_grammar >=20 > I plan to update the grammar to Ada 202x and ANTLR version 3. > (Going to ANTLR v4 straight away looks too earth shaking). >=20 > - Oliver Great Idea Oliver !=20 ANTLR v3 is, in my opinion, the way to go, since ANTLR v4 is unduly complex= for a regular language like Ada. But the target language of the ANTLR generator in the GitHub repository is = C++... Why not generate an AST for Ada in Ada ? Many Ada compilers are writ= ten in Ada, in fact. Kind regards, Vincent