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-Language: ENGLISH,ASCII X-Google-Thread: 103376,8a143aa30f12e518 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-02 17:21:25 PST Message-ID: <3DC47A11.567478C3@sympatico.ca> From: David Marceau X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-10mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Compiler construction tools for Ada References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Sat, 02 Nov 2002 20:21:21 -0500 NNTP-Posting-Host: 65.92.166.96 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1036286166 65.92.166.96 (Sat, 02 Nov 2002 20:16:06 EST) NNTP-Posting-Date: Sat, 02 Nov 2002 20:16:06 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:30313 Date: 2002-11-02T20:21:21-05:00 List-Id: Piotr Zgorecki wrote: > > Hi, > > Does anybody know of any compiler construction tools for Ada? I found > only an outdated port of yacc/lex. I'm interested especially in > parser/tree parser generators. > > Pete Here are a couple of very cool pieces of compiler construction code I discovered in the CLA forum: 1)Check out the sources for ada2nqc translator for programming lego mindstorm robots :) http://www.usafa.af.mil/dfcs/adamindstorms1.htm ftp://ftp.usafa.af.mil/pub/dfcs/fagin/AdaMindstormsSource.zip Sure it's cool what the result does but what's even cooler is the technology for building the ada2nqc :) As you requested ada2nqc uses compiler construction tools for Ada...specifically adagoop, scayacc and scaflex. FYI adagoop/scayacc/scaflex may be found here: ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/usafa/adagoop/index.html http://Unicoi.kennesaw.edu/ase/ase02_02/tools/scatcdsk/scatcb1u.zip 2)Check out the sources for adasubst/adadep http://www.adalog.fr/compo2.htm#Semtools As you requested adasubst/adadep uses a compiler construction tool for Ada: ASIS http://www.acm.org/sigs/sigada/WG/asiswg/ If I understand correctly, ASIS is being recommended as the way of doing these things from now on if you want to massage Ada code. Also if I understand correctly, ASIS could be used for creating any other grammar parser also. I just haven't seen any examples of this yet. If I'm wrong about this please correct me and if anybody has sample code for other grammars with ASIS feel free to jump in and provide a link :) The more compiler writer freak wanna-bes for ada the better :) BTW just because I mention these links doesn't mean I know how to use them well since as you could figure out there's a lot of SLOC's to digest in the links above. Nazdrovia, Nazdroya, Cheers, Sant� bonheur, Otsukaresama, David Marceau