comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr" <david.c.hoos.sr@ada95.com>
Subject: Re: lex equivalent in Ada95 ?
Date: 1998/09/07
Date: 1998-09-07T00:00:00+00:00	[thread overview]
Message-ID: <e3t5VKp29GA.116@samson.airnet.net> (raw)
In-Reply-To: 35F41777.25F0E30F@cl.cam.ac.uk


Markus Kuhn wrote in message <35F41777.25F0E30F@cl.cam.ac.uk>...
>grave wrote:
>> Is there somewhere an Ada equivalent to lex ?
>> A software which produce Ada 95 code instead of C core ?
>
>From <http://www.cl.cam.ac.uk/~mgk25/ada.html>:
>
>  Wolfgang Lohman has ported Ayacc and Aflex, the Ada versions of
>  the well known scanner and parser generators, to run with gnatmake:
>
>    http://www.informatik.uni-rostock.de/~wlohmann/Ada/

Unfortunately, this "port" (which the author himself says is not really a
port),
is not as good ad the following set of files directly from
the Arcadia Project at

ftp://liege.ics.uci.edu/pub/irus/software_releases

The files you want to get are:

04/21/94  12:00a               605,896 aflex-ayacc_1.4a.tar.Z
04/22/94  12:00a               184,272 aflex-ayacc_1.4a_ps_docs.tar.Z
09/22/95  12:00a                41,827 aflex_gnat_beta.tar.Z
09/28/95  12:00a                41,295 ayacc_gnat_beta.tar.Z
07/07/98  09:43p                 4,154 README.aflex-ayacc


Assuming you are using GNAT, here are some installation instructions:

When you unpack the 605,896 aflex-ayacc_1.4a.tar.Z, you will have
VADS-compatible source code (files have .a extension) in the two src
directories.  You need to gnatchop these files (then delete the original .a
files).

Then you can unpack the two gnat_beta archives, and copy the .ad[bs] files
into the corresponding src directories, overwriting the gnatchopped versions
of these files.

Finally, in the corresponding src directories do

gnatmake aflex

and

gnatmake ayacc

The doc directories in the distribution contain .tex documentation, but the
ps_docs archive I listed above has the documentation in Post Script form.







  reply	other threads:[~1998-09-07  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-07  0:00 lex equivalent in Ada95 ? grave
1998-09-07  0:00 ` Markus Kuhn
1998-09-07  0:00   ` David C. Hoos, Sr [this message]
1998-09-07  0:00 ` David C. Hoos, Sr
1998-09-08  0:00 ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox