Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

YAML

YAML - Data notation

< >

YAML, aka YAML Ain't Markup Language, is a data notation created in 2001.

#68on PLDB 22Years Old 14.0kUsers
0Books 1Papers 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
Comments
Line Comments #
# A comment
Semantic Indentation

Publications about YAML from Semantic Scholar

title authors year citations influentialCitations
Laughter in the Wild: A Study Into DoS Vulnerabilities in YAML Libraries Shawn Rasheed and Jens Dietrich and Amjed Tahir 2019 1 0
elm.html · yaml.html · ocaml.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com