Related articles |
---|
EBNF character / numeral statement kubopic@gmx.de (Christian Bode) (2004-04-14) |
Re: EBNF character / numeral statement f40mczf02@sneakemail.com (Karsten Nyblad) (2004-04-15) |
From: | "Karsten Nyblad" <f40mczf02@sneakemail.com> |
Newsgroups: | comp.compilers |
Date: | 15 Apr 2004 12:28:42 -0400 |
Organization: | Cybercity |
References: | 04-04-036 |
Keywords: | syntax |
Posted-Date: | 15 Apr 2004 12:28:42 EDT |
"Christian Bode" <kubopic@gmx.de> wrote in message
http://infos.osk.uni-bielefeld.de/fakoinf/htmldata/projekte/pcomp/gesamt.htm
> It's only a German page, so please look at the G = (T, N, S, R)
description.
>
> Is the R assignment correct over all ? Why is the Buchstabe (character)
and
> Ziffer (numeral) quoted ? They aren't terminal symbols. And also where
they
> are fixed ?
> Is a character and numeral a special Keyword which standing for "A".."Z"
&&
> "a".."z" and "0".."1".
You are right about the problems in this grammar description. Language
descriptions of real programming languages are seldom 100% correct. Either
your teachers have made an error or they have included errors in the
language description to test you.
Karsten Nyblad
Return to the
comp.compilers page.
Search the
comp.compilers archives again.