comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Ada95 Ayacc / Aflex specifications
Date: 1999/09/07
Date: 1999-09-07T00:00:00+00:00	[thread overview]
Message-ID: <7r3grg$q2m$1@nnrp1.deja.com> (raw)
In-Reply-To: 7r0gob$m31$1@nnrp1.deja.com

In article <7r0gob$m31$1@nnrp1.deja.com>,
  mark_doherty@my-deja.com wrote:
> I am looking for the source specifications for ayacc / aflex for
Ada95.
>
> I want these so that I can extract the ayacc / aflex specification
> associated with a calculator (i.e expression. basics functions of +,
> -,*, /, () , power, unarray + and - for both integer and floating
point
> arithmatic).
>
> An example of a calculator would be great.

Hmmm. This sounds suspiciously like a homework assignment....

I believe ayacc and aflex are written to accept yacc and lex source
files. That would mean what you are looking for has nothing to do with
ayacc and aflex themselves (and nothing to do with Ada, for that
matter).

If you have a copy of the "Dragon Book", I'd be suprised if it didn't
have something very much like what you are asking for. I know there are
calculator examples in the O'Reilly "nutshell" lex & yacc book.

But if this is for a homework assignment, I highly suggest you follow
the exercise as intended rather than blindly copy source files someone
else wrote. It'd be a shame to spend all that money and time on the
course and not learn anything.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06  0:00 Ada95 Ayacc / Aflex specifications mark_doherty
1999-09-07  0:00 ` Ted Dennison [this message]
1999-09-07  0:00 ` Shawn Barber
1999-09-08  0:00 ` cts
replies disabled

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