On Fri, Nov 07, 2003 at 04:55:28PM +1300, Rick Mugridge wrote:
| Yaml is a good language. However, I'm not finding it easy to understand
| the specification on several points, even though I am at ease with
| language definition in general. And there don't seem to be good examples
| which explore the edges of what can be done with yaml. It would be
| helpful with some of the block examples used in the spec to show the
| equivalent in flow. (BTW, the spec assumes that block and flow are
| already understood).
We had talked earlier about a canonical form where double quoted
scalar, and inline forms are always used would expressing all of
the examples down below in this canonical form be helpful?
Any other parts of the specification which could be improved?
| Ideally, these would be written as test cases, along with some near-miss
| examples. I have a large set of tests for flow format in Fit that I'm
| starting to augment to extend my lexer/parser to handle block format. I
| could send test cases to people who are happy to be an oracle on
| equivalence and on (in)correct yaml. (Yes, I have seen a few test cases
| in Fit that are online, but there barely scratch the surface).
Yes. They really are not a complete coverage. Brian/Why at
one point in time had the test cases up as a Wiki...
| My work is in Java, with serialization to/from yaml. I have planned a
| range of uses of yaml in my work. For a start, I'd like to use yaml
| instead of XML for Ant.
This is fantastic news.