From: jwabik@umn-d-ub.D.UMN.EDU (Jeff Wabik)
Subject: YACC and LEX for Ada
Date: Tue, 22-Sep-87 16:07:04 EDT [thread overview]
Date: Tue Sep 22 16:07:04 1987
Message-ID: <37@umn-d-ub.D.UMN.EDU> (raw)
A while back I posted asking for a YACC and LEX for Ada.. Again, many thanks
to Herm Fischer@Litton Data Systems for sending me a superb version that
nearly paralleled the "Reference Manual for the Ada Prorgamming Language",
ANSI/MIL-STD-1815A-1983, standard. Upon receiving the goodies, though,
I had a few problems:
1) The YACC grammar tried to carbon copy the syntax specs
in the standards manual so closely that its format
was nearly unreadable to the acquainted YACCer.
2) Aside from being case sensitive (which is an error), the
LEX was written such that it required a "bigger" LEX
than I had access to. (Bizarre LEX messages saying
things like "Not enough table space", etc.. )
Solutions:
1) I completely reformatted the YACC so it looks like
"standard" BNF (at least all the BNF I've ever seen);
Much Much easier to read.
2) I re-wrote the LEX such that it's now case sensitive
(which is correct), and can be fed through the >smallest<
LEX.
If anyone would like to get a copy of these touched-up goodies, please
drop me a note.. I've already forwarded Herm Fischer my patch job,
so he should have it too.
Me: ARPA: jwabik@ub.d.umn.edu
UUCP: umn-cs!umnd-cs!jwabik
umn-cs!shamash!jwabik
Herm: ARPA: HFischer@eclb.ARPA
UUCP: {cepu,trwrb}!litvax!fischer
-Jeff
reply other threads:[~1987-09-22 20:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox