YAML’s Missing Type

January 31st, 2007

The YAML processing specification defines, in concept, three basic node types: map, sequence, and scalar. In practice, however, the specification requires four: map, sequence, scalar, and string. This post looks at: first, why the specification has four types; then, whether typical parsers successfully handle all four types; finally: why it would be okay to […]

Read the rest of this post...

A Simple Yaml Parser

January 17th, 2007

This post is part tutorial for, part documentation of, the Simple Yaml Parser. The goal of this parser is to provide something that is simple to use, easy to understand, and trivial to duplicate. While I will talk a bit about the underlying implementation of the parser, this post focuses mainly on the […]

Read the rest of this post...

Syck and C/++

January 12th, 2007

I’ve got a simple parser running that I will post up come Monday.
First, some thoughts about Syck in C/++.
Syck does exactly what it sets out to do and does it well.
It’s designed to efficiently translate Yaml into the data structures of dynamically typed languages: it’s fast and has a fairly low memory overhead. It’s […]

Read the rest of this post...

In Search of a Simpler Yaml

January 10th, 2007

As part of my continuing exploration of Yaml I’m putting together a rough spec for a simplified subset of Yaml. I will be updating it from time to time in order to give it a little more polish.
As part of this effort I am also going to put together a simple reference implementation which […]

Read the rest of this post...

YAML

January 5th, 2007

I love YAML.
It’s an easy to understand structural text format with a lot of promise for games. In my book I’m using YAML for all my examples because, even without in-depth explanations on syntax, people can intuitively grasp the meaning of simple YAML documents.
It’s eminently grokable.
Yet YAML has a problem, primarily: one of adoption. […]

Read the rest of this post...