Top 1,000 Features Creators Resources Extensions Blog Explorer CSV Download
GitHub icon

YAML

< >

YAML, aka YAML Ain't Markup Language, is an open source data notation created in 2001 by Clark Evans and Oren Ben-Kiki and Ingy döt Net.

#45on PLDB 23Years Old 525Repos

Try now: Riju

YAML (YAML Ain't Markup Language) is a human-readable data serialization language. It is commonly used for configuration files, but could be used in many applications where data is being stored (e.g. debugging output) or transmitted (e.g. Read more on Wikipedia...


Example from Riju:
output: "Hello, world!"
Example from hello-world:
hello: world
Example from Linguist:
--- name: R Console fileTypes: [] scopeName: source.r-console uuid: F629C7F3-823B-4A4C-8EEE-9971490C5710 patterns: - name: source.r.embedded.r-console begin: "^> " beginCaptures: "0": name: punctuation.section.embedded.r-console end: \n|\z patterns: - include: source.r keyEquivalent: ^~R
Example from Wikipedia:
--- example: > HTML goes into YAML without modification message: | <blockquote style="font: italic 12pt Times"> <p>"Three is always greater than two, even for large values of two"</p> <p>--Author Unknown</p> </blockquote> date: 2007-06-01

Language features

Feature Supported Token Example
Sets
# Explicitly typed set.
baseball players: !!set
  ? Mark McGwire
  ? Sammy Sosa
  ? Ken Griffey
# Flow style
baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees }
Comments
Line Comments #
# A comment
Semantic Indentation

View source

- Build the next great programming language · About · Acknowledgements · Part of the World Wide Scroll