comp.lang.ada
 help / color / mirror / Atom feed
* YACC and LEX for Ada
@ 1987-09-22 20:07 Jeff Wabik
  0 siblings, 0 replies; only message in thread
From: Jeff Wabik @ 1987-09-22 20:07 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1987-09-22 20:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1987-09-22 20:07 YACC and LEX for Ada Jeff Wabik

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