Is it YAML?

Enter some text in the text field below and click "Enter" to check if it is YAML. Hit "Reset" to reset the whole contents.

Put yer YAML here!


About

This project is about YAML, "a human friendly data serialization standard for all programming languages". YAML is just a text format for exchanging data. It exists for cases where XML is too much overhead. I like YAML. I find it more robust in practice than XML (where one missing angle bracket could corrupt a whole file), yet easier to type by hand.

"Is it YAML?" is a little project I conjured up while writing a specification for YPath - a language for addressing parts of a YAML document, as XPath does for XML. To do a proper job of things, I have to write YAML example files. However, I sometimes need to check if the example files are good and proper. "Is it YAML?" gives me a test bed where I can copy-and-paste my examples, and see if they really are YAML.

Installation and Dependencies

"Is it YAML?" is a Django app that can be installed. Download it in tar.gz format, extract it, run the setup.py file, and add "isityaml" to your INSTALLED_APPS list in settings.py.

This project depends on PyYAML, a Python parser for YAML, and Django, a web framework. The HTML file used to display the output references stylesheets produced by the Blueprint CSS framework, plus one style sheet used on my site. These stylesheets are not mandatory, but I find they make the page more attractive that the black-and-white default styles provided by most browsers.

Copyright © Peter Murphy 2011.