On 5/5/07, Oren Ben-Kiki <oren@ben-kiki.org> wrote:
We also discussed the concept of byte code representation for YAML. We
had a thread about this in Sep 2003 which went in the direction of a
specialized line-oriented format. However, Xitology has sold us on the
notion of using the "canonical" format as a byte code.

The idea is to start with JSON, insist that every token will be on its
own line, and throw in the minimal number of features required to
present anything YAML supports (that is: tags, anchors and aliases,
directives, and '...'). The result would look something like:


Small question: In this canonical format, how do you expect to treat
newlines that are in values, e.g.,