[Tools-discuss] Re: Bug in the Perl ABNF parser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tools-discuss] Re: Bug in the Perl ABNF parser?



The Perl ABNF parser is not maintained any more.
There are a few bugs - this one has to do with case mapping; my tool did not case fold rule names, and only accepted A-F in hex literals, not a-f.


And I think Bill's parser has much better error messages. Tools.ietf.org people, can you remove the link from your site?

                Harald


--On 20. November 2006 23:08 +0100 Stephane Bortzmeyer <bortzmeyer at nic.fr> wrote:


[Is the Perl ABNF still parser still maintained? The email address in
the source bounces. If it is not maintained any more, wouldn't it be a
good idea to indicate it on the Web page at tools.ietf.org?]

The attached grammar, extracted from draft-ietf-imapext-sort-18.txt
seems perfectly legal (and is accepted by all the other tools) but
make the Perl parser protest:

...
Rule: subj-trailer    = "(fwd)" / WSP
Rule: subj-base       = NONWSP *(*WSP NONWSP)
                     ; can be a subj-blob
Not OK
Syntax error: BLOBCHAR        = %x01-5a<*> / %x5c /







_______________________________________________ Tools-discuss mailing list Tools-discuss at ietf.org https://www1.ietf.org/mailman/listinfo/tools-discuss




Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.