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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,169cfbee5fb652af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-11 06:53:28 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!fr.ip.ndsoftware.net!teaser.fr!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: ada_wizard@toadmail.com Newsgroups: comp.lang.ada Subject: Re: Free Ada parser Date: Thu, 11 Dec 2003 09:50:15 -0500 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: melchior.cuivre.fr.eu.org 1071154235 42067 80.67.180.195 (11 Dec 2003 14:50:35 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 11 Dec 2003 14:50:35 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:3368 Date: 2003-12-11T09:50:15-05:00 jesus.quirce.garcia@esa.int (J Quirce) writes: > Hi, > > I am just joining the group after a quite long and discusting weg > search of any kind of "executable ada grammar". I mean, an Ada 95 one > ready for processing by Yacc, Bison or any other more or less > reasonable compiler compiler. > > Do you have any idea on where can I get it? Depending on why you want an Ada parser, there are other approaches to consider. The GNAT compiler, obviously, has an Ada parser. Since it is open source, you can use it. OpenToken (http://www.telepath.com/~dennison/Ted/OpenToken/OpenToken.html) provides an Ada grammar (but only at the lexical level; the parse level for Ada is quite complex, you know :). And then there is ASIS (available for GNAT); it lets GNAT parse (and compile) the source code, and provides an API for you to query the results. So, what do you plan to do with your parser after you find it? -- -- Stephe ___________________________________________________________ This mail sent using ToadMail -- Web based e-mail @ ToadNet