App-Dex
view release on metacpan or search on metacpan
scripts/dex view on Meta::CPAN
=item L<"YAML EDITOR">
=back
These projects are a big help for any developer. So I got the idea
to write my own parser and started on New Year's Day 2017.
Without the test suite and the editor I would have never started this.
I also started another YAML Test project which allows one to get a quick
overview of which frameworks support which YAML features:
=over 4
=item L<"YAML TEST MATRIX">
=back
=head2 YAML TEST SUITE
L<https://github.com/yaml/yaml-test-suite>
scripts/dex view on Meta::CPAN
Thanks also to Felix Krause, who is writing a YAML parser in Nim.
He turned all the spec examples into test cases.
=head2 YAML EDITOR
This is a tool to play around with several YAML parsers and loaders in vim.
L<https://github.com/yaml/yaml-editor>
The project contains the code to build the frameworks (16 as of this
writing) and put it into one big Docker image.
It also contains the yaml-editor itself, which will start a vim in the docker
container. It uses a lot of funky vimscript that makes playing with it easy
and useful. You can choose which frameworks you want to test and see the
output in a grid of vim windows.
Especially when writing a parser it is extremely helpful to have all
the test cases and be able to play around with your own examples to see
how they are handled.
=head2 YAML TEST MATRIX
I was curious to see how the different frameworks handle the test cases,
so, using the test suite and the docker image, I wrote some code that runs
the tests, manipulates the output to compare it with the expected output,
and created a matrix view.
L<https://github.com/perlpunk/yaml-test-matrix>
You can find the latest build at L<https://matrix.yaml.io>
As of this writing, the test matrix only contains valid test cases.
Invalid ones will be added.
( run in 1.501 second using v1.01-cache-2.11-cpan-e1769b4cff6 )