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.
  • Please make sure to specify that the diagnostics have to conform to the YAML Tiny [cpan.org] subset of YAML.

    • by Ovid (2709) on 2008.04.05 11:46 (#62000) Homepage Journal

      Why? Do recall that this is also be allowed for other languages with different data structures with different serialization requirements.

      • Precisely. YAML is not suitable for high-fidelity serialisation. You really want eg. Data::Dump::Streamer if your data structures are tricky.

        However, writing a YAML parser is a much bigger job than writing a TAP parser. Parsing YAML Tiny is on par with parsing TAP, and the dialect is perfectly sufficient for modest serialisation needs.

        So demanding a full YAML parser to parse TAP won’t provide substantial benefit but may hamper adoption of TAP.