Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • A couple of minor points in your grammar:

    You define the tokens 'line' and 'lines' but don't use them anywhere.
    Also your 'test' does'nt have the terminating "\n", so the entire set of tests are all on one line.

    Possibly you should define
          tests ::= lines

    and have tests as the starting point of the grammar. That should do it - I think.