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.42.66.147 with SMTP id p19mr1585443ici.12.1382649159054; Thu, 24 Oct 2013 14:12:39 -0700 (PDT) X-Received: by 10.49.116.145 with SMTP id jw17mr109205qeb.25.1382649158804; Thu, 24 Oct 2013 14:12:38 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!i2no32187774qav.0!news-out.google.com!z6ni90232pbu.0!nntp.google.com!i2no32187760qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 24 Oct 2013 14:12:38 -0700 (PDT) In-Reply-To: <8ee20b08-3f10-42bd-8f5d-759bc4beea81@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=144.64.29.158; posting-account=qOKjyQoAAACkueA1sEk2JOzdoAkAN1Qg NNTP-Posting-Host: 144.64.29.158 References: <8ee20b08-3f10-42bd-8f5d-759bc4beea81@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <46e20bf9-ac92-465d-94ac-1a2296fda4e4@googlegroups.com> Subject: Re: Ada 2012 grammar From: David Pereira Injection-Date: Thu, 24 Oct 2013 21:12:38 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 1928 Xref: number.nntp.dca.giganews.com comp.lang.ada:183723 Date: 2013-10-24T14:12:38-07:00 List-Id: Quinta-feira, 24 de Outubro de 2013 17:55:00 UTC+1, Dan'l Miller escreveu: > On Thursday, October 24, 2013 10:01:13 AM UTC-5, David Pereira wrote: > > > Hi all, > > > Does anyone know if there is available a complete grammar for Ada 2012, lets say, in Flex+Bison or similar compiler construction tool-chain? > > > > Why not base your tool on ASIS? What semantic or syntactic information/analysis does your tool need that the Ada2012 parsing in ASIS in GNAT is impractical for? Hi, The reason is exactly the one put forward by Marc: I am looking for something done for the current grammar of Ada 2012, so that I can easily extend it to further contract constructions. Thanks anyway :) Regards, David