Enter your search keyword(s):

Click to search our directories-AllWebHunt, Encyclopedic, TopChoice, Or Google, Alexa, About & Yahoo:

 


Markup Languages
Home / Top / Computers / Data Formats / Markup Languages See also:
Related articles

Edit | Discuss Article

YAML

YAML is a recursive acronym for "YAML Ain't Markup Language". YAML is a data serialization language that takes concepts from languages such as XML, C, Python, and Perl, as well as the format for electronic mail as specified by RFC 2822. YAML was first proposed by Clark Evans, and implemented by himself, Brian Ingerson and Oren Ben-Kiki.

Table of contents
1 Features
2 Examples
3 Implementations
4 External links

Features

YAML was created with the belief that all data can be adequately represented by combinations of lists, hashes, and scalar data. The syntax is relatively straightforward and was designed with human readability in mind, but also to be easily mapped to data types common to most high-level languages:

Examples

Lists

--- # Favorite movies, block format
- Casablanca
- Spellbound
- Notorious
--- # Shopping list, inline format
[milk, bread, eggs]

Hashes

--- # Block
name: John Smith
age: 33
--- # Inline
(name: John Smith, age: 33)

Block Literals

Newlines preserved

--- |
  There was a young fellow of Warwick
  Who had reason for feeling euphoric
      For he could, by election
      Have triune erection
  Ionic, Corinthian, and Doric

Newlines folded

--- >
  Wrapped text
  will be folded
  into a single
  paragraph

Blank lines denote paragraph breaks

Lists of Hashes

- (name: John Smith, age: 33)
-
  name: Mary Smith
  age: 27

Hashes of Lists

men: [John Smith, Bill Jones]
women:
  - Mary Smith
  - Susan Williams

Implementations

Bindings for YAML exist for the following languages:

External links


Source | Copyright
Webmasters: Add your website here:

Readers: Edit | Discuss Listings

Electronic Documents Markup
A brief explanation of what markup languages are and where they come from.
http://www.cs.wpi.edu/~kal/elecdoc/EDmarkup.html

Project Xanadu
The original hypertext project. Includes a history of the project and gives credit to the early developers of markup languages.
http://www.xanadu.com/

whatis.com: markup
A short definition.
http://whatis.techtarget.com/definition/0,289893,sid9_gci212527,00.html

YAML Ain't Markup Language (YAML)
A straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages such as Perl and Python.
http://yaml.org/



Help build the largest human-edited directory on the web.
 Submit a Site - Open Directory Project (modified) - Become an Editor

Modified contents copyright 2010. All rights reserved.