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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,df854b5838c3e14 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,df854b5838c3e14 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,df854b5838c3e14 X-Google-Attributes: gid103376,public From: Mike Young Subject: Re: Ada Parsing Tools (was Re: C/C++ knocks the crap out of Ada) Date: 1996/03/20 Message-ID: <3150DFBE.4B3D@mcs.com>#1/1 X-Deja-AN: 143470974 references: <00001a73+00002504@msn.com> <4iah20$p7k@saba.info.ucla.edu> to: woodruff1@llnl.gov content-type: text/plain; charset=us-ascii organization: Fen Software, Inc. mime-version: 1.0 newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ x-mailer: Mozilla 2.0GoldB1 (Win95; I) Date: 1996-03-20T00:00:00+00:00 List-Id: John Woodruff wrote: > I would like to have leads to such language parsing products as are > available in Ada now. I'm about to undertake a preliminary prototype > exercise to use ayacc in my project, and if there's a significantly > easier-to-use alternative I want to know about it. === I found ayacc/aflex at ftp://liege.ics.uci.edu/pub/irus . There are gnat specific port for both packages; you'll need these if you're targetting a Gnat system. I used gnatchop to split the supplied .a files into gnat's .ads and .adb files. These compiled without additional difficulty, but aflex throws a constraint_error when initializing. I think I have the problem narrowed down to improper range spec's on an initialized array; don't have the specifics in front of me. Ayacc complained about not finding parser.ads, after which I gave up. I'll confess I haven't read the doc's, and have no immediate needs for a parser. Just stocking the toolchest, as it were. I'd be interested to hear if you have any success. Mike.