in reply to Revised TAP Grammar

I don't know anything about TAP, but:

plan ::= '1..' nonNegativeInteger "\n"

allows:

1..0

doesn't it? Is that intended, or is what you are after more like 1..n where n is > 1?

Update: The following two lines constrain plan as described above (with a little guessing at syntax):

pluralInteger ::= (digit - ('0', '1')) | digit digit+ plan ::= '1..' pluralInteger "\n"

DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Revised TAP Grammar
by Ovid (Cardinal) on Sep 14, 2006 at 09:27 UTC

    Yes, that is specifically allowed. '1..0' is the (undocumented, I think) plan syntax for 'skip all of these tests'.

    Cheers,
    Ovid

    New address of my CGI Course.