:: wikimiki.org ::
| Kategori:Franskmænd |
Kategori:FranskmændKategori:Europæere
Kategori:Frankrig
ja:Category:フランスの人物
ko:분류:프랑스 사람
ru:Категория:Персоналии:Франция
Kategori:EuropæereKategori:Personer efter nationalitet
Kategori:Europa
Kategori:FrankrigKategori:Europæiske lande
ja:Category:フランス
ko:분류:프랑스
simple:Category:France
th:Category:ประเทศฝรั่งเศส
zh-min-nan:Category:Hoat-kok YAMLYAML is a human-readable data serialization format that takes concepts from languages such as XML, C, Python, and Perl, as well as the format for electronic mail as specified by RFC [http://www.rfc-editor.org/rfc/rfc2822.txt 2822]. YAML was first proposed by Clark Evans, and designed by himself, Brian Ingerson and Oren Ben-Kiki.
YAML is a recursive acronym meaning "YAML Ain't Markup Language". Early in its development, YAML was said to mean "Yet Another Markup Language", retronymed to distinguish its purpose as data-centric, rather than document markup. However since XML (a true document markup language) is frequenctly used for data serialization, it is reasonable to consider YAML a lightweight markup language.
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. In addition, YAML uses a notation based on indentation and/or a set of sigil characters distinct from those used in XML, making the two languages easily composable.
- YAML streams are encoded using the set of printable Unicode characters, either in UTF-8 or UTF-16
- Whitespace indentation is used to denote structure; however tab characters are never allowed as indentation
- List members are denoted by a leading hyphen ( - ) with one member per line, or enclosed in square brackets ( [ ] ) and seperated by comma space ( , ).
- Hashes are represented using the colon space ( : ) in the form key: value, either one per line or enclosed in curly braces ( ) and seperated by comma space ( , ).
- A has key value be prefixed with a question mark ( ? ), allowing for complex keys to be represented unambigiously.
- Simple values (scalars) are ordinarily unquoted, but may be enclosed in double-quotes ( " ), or single-quotes ( ' ).
- Within double-quotes, special characters may be represented with C-style escape sequences starting with a backslash ( \ ).
- Block scalars are delimited with indentation with optional modifiers to preserve ( | ) or fold ( > ) newlines
- Multiple documents within a single stream are separated by three hyphens ( --- ); three periods ( ... ) optionally end a document within a stream
- Repeated nodes are initially denoted by an ampersand ( & ) and thereafter referenced with an asterisk ( - )
- Comments are denoted by the number sign ( # ) and continue until the end of the line
- Nodes may be labeled with a type or tag using the exclamation point ( ! ) followed by a string which can be expanded into a URI.
- YAML documents in a stream may be preceded by directives composed of a percent sign ( % ) followed by a name and space delimited parameters. Two directives are defined in YAML 1.1:
- The %YAML directive is used to identify the version of yaml in a given document.
- The %TAG directive is used to shortcuts for URI prefixes. These shortcuts may then be used in node type tags.
YAML requires that colons and commas used as list seperators be follow by a space so that scalar values containing embedded punctuation (such as 5,280 or http://www.wikipedia.org can generally be represented without needing to be enclosed in quotes.
Two additional sigil characters are reserved in YAML for possible future standardiaztion: the at sign ( @ ) and accent grave ( ` ).
Examples
Lists
--- # Favorite movies, block format
- Casablanca
- Spellbound
- Notorious
--- # Shopping list, inline format
[milk, bread, eggs]
Hashes
--- # Block
name: John Smith
age: 33
--- # Inline
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: 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:
- JavaScript
- Perl
- PHP
- Python
- Ruby (uses YAML as the de facto serialization format; YAML included in standard library since 1.8.)
- XML (currently draft only)
Other simplified markup languages
- JSON, which very close to being a subset of YAML
- Simple Outline XML
- OGDL
- BBCode
- S-expressions
External links
- [http://www.yaml.org YAML.ORG]
- [http://www.yaml.org/spec/ YAML Specification]
- [http://yaml4r.sourceforge.net/cookbook/ YAML Cookbook]
- [http://yaml.kwiki.org/?YamlInFiveMinutes YAML in Five Minutes]
- [http://redhanded.hobix.com/inspect/yamlIsJson.html YAML as a superset of JSON]
Category:Markup languages
xsongs.info domeny poker tuszcze WARSAW
|
|
|
| :: RELATED NEWS :: |
Silvestre Reyes
Silvestre Reyes (born November 10, 1944) is a politician from the state of Texas, currently representing the state's 16th Congressional district ([http://nationalatlas.gov/printable/images/preview/congdist/tx16_109.gif map]) in the U.S. House.
Reyes was
|
Pete Sessions
Pete Sessions (born March 22, 1955) is a politician from the state of Texas.
Sessions was born in Waco, Texas and he graduated from Southwestern University. Sessions worked with
Senior Aircraftman (SAC) (or Senior Aircraftwoman (SACW)) is a rank in the Royal Air Force, ranking between Leading Aircraftman and Junior Technician (although SACs in non-technical trades progress directly to corporal) and having a NATO rank code of OR-2. The rank, which is non-supervisory, was introduced on
|
Don Sherwood
Donald L. Sherwood (born March 5, 1941) is a Republican member of the U.S. House of Representatives, representing the 10th Congressional District of Pennsylvania ([http://nationalatlas.gov/printable/images/preview/congdist/pa10_109.gif map]) since 1998.
Personal life
Born in
Charles/MGH Station is located at the intersection of Cambridge Street and Charles Street, in Boston, Massachusetts. The station is on the Boston subway's Red Line and is elevated, being located at the Boston side of the Longfellow Bridge, which carries the Red Line along with vehicle traffic acr
|
Nadar caste
Nadar is one of the South Indian Tamil caste and the term also used to refer to the man belong to that caste.The caste also refered as 'chanas'.
History
The Nadars are a hardworking community and became successful after some struggles early on because of the caste system.
One of their occupations was toddy (a kind of liquor) gathering from Palm trees. The
|
Steve Israel
Steve Israel (born May 30, 1958) is an American politician from the state of New York, currently representing the state's 2nd Congressional district ([http://nationalatlas.gov/printable/images/preview/congdist/ny02_109.gif map]), in the U.S. House.
Israel
|
Shukri al-Kuwatli
Shukri al-Kuwatli was the president of Syria from 1943-1949 and 1955-1958. Born 1891, Damascus, Syria. Died June 30, 1967, Beirut, Lebanon.
Kuwatli entered Syrian politics in the 1930s as a member of the National Bloc, a coalition of Arab parties that led the opposition to French rule. As a young man, he had been involved in al-Fatat, an underground opposition group in Ottoman Syria, and been arrested for his activities in 1916. He was released when World War I ended to become a ci
|
Cliff Warner
Cliff Warner and Nina Cortlandt were a supercouple on the American soap opera All My Children. Cliff was played by Peter Bergman and Nina was played by Taylor Miller.
The two characters were in a popular on-again/off-again relationship that spanned the entire 1980s. Although they split up
|
|