|Production missing on page 9 of Compiler Construction firstname.lastname@example.org (email@example.com) (2007-08-31)|
|Re: Production missing on page 9 of Compiler Construction DrDiettrich1@aol.com (Hans-Peter Diettrich) (2007-09-01)|
|Re: Production missing on page 9 of Compiler Construction firstname.lastname@example.org (Adrian Devries) (2007-09-02)|
|Re: Production missing on page 9 of Compiler Construction email@example.com (2007-09-03)|
|From:||Hans-Peter Diettrich <DrDiettrich1@aol.com>|
|Date:||Sat, 01 Sep 2007 04:36:58 +0200|
> I'm reading Compiler Construction, by Niklaus Wirth, available on
> http://www.oberon.ethz.ch/WirthPubl/CBEAll.pdf and on page 9 he shows
> this little piece of BNF:
> E = T | A "+" T.
> T = F | T "*" F.
> F = V | "(" E ")".
> V = "a" | "b" | "c" | "d".
> A is being used on the right hand side without it being defined on the
> left hand side first. What am I missing?
IMO it's a typo, should read 'E'.
E = Expression
T = Term
F = Factor
V = Value
A is not mentioned elsewhere.
Return to the
Search the comp.compilers archives again.