[Top] [All Lists]

Re: Why the 822bis grammar is so painful

1999-02-10 05:11:37
 Chris Newman <chris(_at_)innosoft(_dot_)com> writes:

I actually figured out the 822bis grammar changes necessary to resolve the
one-atom-vs-two parsing distinction for fun.  But the problem is so minor
that fixing it isn't worth the complexity it would add to the grammar,
IMHO.  In the bigger scheme of things, the current grammar sufficies to
determine if headers are valid or invalid; and that's what's important. 

Is it that complex? Surely the particular case I highlighted only requires:

phrase = word *( CFWS word) / obs-phrase

Of course, there may be other cases, and I think the whole of that syntax
is badly designed and liable to be misunderstood, but I think all you can
do at this point is fix known errors while there is still time.

The real problems are going to come when other standards (Mime extensions,
UTF-8, etc) start trying to build on the DRUMS basis.

Charles H. Lindsey ---------At Home, doing my own thing------------------------
Email:     chl(_at_)clw(_dot_)cs(_dot_)man(_dot_)ac(_dot_)uk  Web:
Voice/Fax: +44 161 437 4506      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9     Fingerprint: 73 6D C2 51 93 A0 01 E7  65 E8 64 7E 14 A4 AB A5