Home > Archive > Compilers > April 2004 > ISO standard BNF
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| A Johnstone 2004-04-14, 1:31 am |
| There is an ISO standard EBNF (ISO/IEC 14977:1996(E), see
http://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf).
It contains some unhappy features, such as the iuse of , as
a concatenation operator and allowing nonterminal names with
spaces in them.
Has anybody ever used this version of EBNF, or ever seen it used
in a book or paper?
Adrian
--
Dr Adrian Johnstone, Senior Lecturer in Computing, Computer Science Dep,
Royal Holloway, University of London, Egham, Surrey, TW20 0EX, England.
Email a.johnstone@rhul.ac.uk Tel:+44(0)1784 443425 Fax:+44(0)1784 439786
| |
| Sven.Hartrumpf@FernUni-Hagen.de 2004-04-15, 1:35 pm |
| A Johnstone <adrian@sartre.cs.rhbnc.ac.uk> writes:
> There is an ISO standard EBNF (ISO/IEC 14977:1996(E), see
> http://www.cl.cam.ac.uk/~mgk25/iso-14977.pdf).
> It contains some unhappy features, such as the use of , as
> a concatenation operator and allowing nonterminal names with
> spaces in them.
Agreed. I never use spaces inside nonterminal names (only _ if
needed) in order to reduce confusion. The , as concatenator
is not such a bad idea (after writing some ISO EBNF grammars).
> Has anybody ever used this version of EBNF,
Yes.
> or ever seen it used in a book or paper?
Unfortunately, many people use their own variant of BNF.
But I have seen ISO EBNF specifications in some technical documents.
Greetings
Sven
--
Dr. Sven Hartrumpf
Computer Science VII
University of Hagen
58084 Hagen - Germany
|
|
|
|
|