Jared Rhine <[EMAIL PROTECTED]> writes:
> [Patrick == [EMAIL PROTECTED] on Wed, 8 Sep 2004 11:51:18 -0600]
>
> Patrick> ...in the immediate future we'll be wanting rules/grammar
> Patrick> tests (to test the grammar engine) more than we'll need
> Patrick> perl 6 code, although we'll certainly take that as well.
>
> If you wanted to describe the form such tests might take, maybe
> Herbert will get excited enough to pitch in with such tests. I grok
> the difference between the grammar engine and the actual compiler, but
> I'm blanking on how to describe the process of writing tests that
> aren't simple "Perl 6 code snippet" style tests at this early stage.
How about:
/a pattern/
"target_string" <matches?> "$1" "$2" "$3"...
"another_target" <matches?> "$1" ...
/another pattern/
...
The game is to get a bunch of tests written. Given a sufficiently
regular layout Luke and Patrick can no doubt write some code that will
massage things into something that can get run under some test harness.