I'm asking for some reference sites for BNF/EBNF and the etc, i'm asking as at school we use the heinman SDD book(absolutly shocking.. shame we're only a poor school, and havingt about 23 people(like 5 do work) in it it's not that easy to go and buy a better one)
So i'm asking for some reference sites for ENF/BNf, the book seems to have explained it wrong.. .and even then, it was supposed to make programming unambiguopus? well it's done the oppisite in that book, we can't tell if it means one thing or another!
one answer is like this:
Exponent = E [+] < integer > | E [-] < integer >
Now is that supposed to be
E [+] {{{< integer > OR another E}}}} [-] < integer >
When it should be writen like this i would think:
Exponent = (E [+] < integer >) | (E [-] < integer >)
or even
Exponent = E [+|-] < integer >
Get the idea? it's just plain written hopelessly.. any links?
-=DD32/DoubleD=-
Back later..
*EDIT: Theres some < integer > things that weren't showing up.. didn't reaslei there was html alowd..
So i'm asking for some reference sites for ENF/BNf, the book seems to have explained it wrong.. .and even then, it was supposed to make programming unambiguopus? well it's done the oppisite in that book, we can't tell if it means one thing or another!
one answer is like this:
Exponent = E [+] < integer > | E [-] < integer >
Now is that supposed to be
E [+] {{{< integer > OR another E}}}} [-] < integer >
When it should be writen like this i would think:
Exponent = (E [+] < integer >) | (E [-] < integer >)
or even
Exponent = E [+|-] < integer >
Get the idea? it's just plain written hopelessly.. any links?
-=DD32/DoubleD=-
Back later..
*EDIT: Theres some < integer > things that weren't showing up.. didn't reaslei there was html alowd..
Last edited: