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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,69209fe4a3017fba X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 16 Sep 2007 11:58:26 +0200 From: Gautier User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Q: recent Ada grammar for Ada tools ? References: <46ecbc16$1_7@news.bluewin.ch> <46ECD6D3.3030003@obry.net> In-Reply-To: <46ECD6D3.3030003@obry.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.77.163.15 X-Original-NNTP-Posting-Host: 83.77.163.15 Message-ID: <46ecfe08_4@news.bluewin.ch> X-Trace: news.bluewin.ch 1189936648 83.77.163.15 (16 Sep 2007 11:57:28 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:1953 Date: 2007-09-16T11:58:26+02:00 List-Id: Pascal Obry wrote: > Hi Gautier, > >> By "Ada tool", I mean ayacc or something newer. >> The best match I found is the Ada 95 grammar/lexer for yacc/lex on the >> AdaIC >> site. But all for C; at least a ayacc/aflex version would be better... > > I have an "old" aflex/ayacc link on my homepage. This is a fix for the > Irvive University (IIRC) version of aflex/ayacc... I just don't remember > if it is Ada83 or Ada95. Maybe a good start. > > Pascal. Sorry for being unclear: by "a ayacc/aflex version", I meant "a version [of the Ada 95 lexer/parser] for ayacc/aflex". As for the ayacc/aflex tools, I have an up-to-date version, with several fixes (of bugs spotted by recent versions of GNAT) and a few improvements, like not hard-coded stack sizes. If you are interested (e.g. for merging versions), it is packaged in newp2ada.zip, subdirectories ayacc95, aflex95 - cf 2nd link below. ______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm#p2ada NB: For a direct answer, e-mail address on the Web site!