I like the "YAML" syntax, but can we live with:
got: |
this is line 1
this is line 2
expected: |
this is line 1
this is line 2
Instead? That way a real YAML parser can parse the output of TAP, which
could be important for adoption by other languages. Rather than require
others to write a TAP parser, we can just tell them to use their YAML
parser in streaming mode. Since we aren't using *all* the features of
YAML here, we can still have a light implementation for Perl. (Not that
I'm against using a full YAML parser... but I think others are :)
> got: this is line 1
> this is line 2
> this is line 3
> expected: this is line 1
> this is line b
> this is line 3
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;