Re: Collected ABNF for HTTPbis

* Brian Smith wrote:
>As Julian said before, the collected ABNF exists in order to desugar the
>"#X" ABNF extension into true ABNF syntax. AFAICT, that isn't necessary
>since ABNF processing tools seem to handle the extension anyway. But, also,
>the "#X" extension is really a huge readability advantage. Every usage of
>"#X" is easily replaced with X (COMMA-ows X)* where COMMA-ows is just "OWS
>COMMA OWS". That doesn't justify the extra complication. Just desugar all
>the inline productions, remove the #X extension, remove the collected ABNF.

If you would like to suggest changes to the drafts, the best way to do
that would be to start a new thread. As for the suggestions above, the
expansion you give is incorrect as it fails to account for empty items
in lists, and there is little evidence of widespread support for the
list syntax, for example, Chris Newman's abnf.c, bap, abnfgen, and my
own Parse::ABNF Perl module do not support it out of the box.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 18 May 2009 00:22:19 UTC