blob: c7cd1d74e5084bded4644052f72a32ebb2a564e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
%YAML 1.1
---
- name: bool
tags: dyaml composer
detect: |
tag:yaml.org,2002:bool
tree: |
+STR
+DOC
+SEQ
=VAL :yes
=VAL :NO
=VAL :True
=VAL :on
-SEQ
-DOC
-STR
yaml: |
- yes
- NO
- True
- on
- name: float
tags: dyaml composer
detect: |
tag:yaml.org,2002:float
tree: |
+STR
+DOC
+SEQ
=VAL :6.8523015e+5
=VAL :685.230_15e+03
=VAL :685_230.15
=VAL :190:20:30.15
=VAL :-.inf
=VAL :.NaN
-SEQ
-DOC
-STR
yaml: |
- 6.8523015e+5
- 685.230_15e+03
- 685_230.15
- 190:20:30.15
- -.inf
- .NaN
- name: int
tags: dyaml composer
detect: |
tag:yaml.org,2002:int
tree: |
+STR
+DOC
+SEQ
=VAL :685230
=VAL :+685_230
=VAL :02472256
=VAL :0x_0A_74_AE
=VAL :0b1010_0111_0100_1010_1110
=VAL :190:20:30
-SEQ
-DOC
-STR
yaml: |
- 685230
- +685_230
- 02472256
- 0x_0A_74_AE
- 0b1010_0111_0100_1010_1110
- 190:20:30
- name: merge
tags: dyaml composer
detect: |
tag:yaml.org,2002:merge
tree: |
+STR
+DOC
+SEQ
=VAL :<<
-SEQ
-DOC
-STR
yaml: |
- <<
- name: "null"
tags: dyaml composer
detect: |
tag:yaml.org,2002:null
tree: |
+STR
+DOC
+SEQ
=VAL :
=VAL :~
=VAL :null
-SEQ
-DOC
-STR
yaml: |
-
- ~
- null
- name: str
tags: dyaml composer
detect: |
tag:yaml.org,2002:str
tree: |
+STR
+DOC
+SEQ
=VAL :abcd
=VAL :9a8b
=VAL :9.1adsf
-SEQ
-DOC
-STR
yaml: |
- abcd
- 9a8b
- 9.1adsf
- name: timestamp
tags: dyaml composer
detect: |
tag:yaml.org,2002:timestamp
tree: |
+STR
+DOC
+SEQ
=VAL :2001-12-15T02:59:43.1Z
=VAL :2001-12-14t21:59:43.10-05:00
=VAL :2001-12-14 21:59:43.10 -5
=VAL :2001-12-15 2:59:43.10
=VAL :2002-12-14
-SEQ
-DOC
-STR
yaml: |
- 2001-12-15T02:59:43.1Z
- 2001-12-14t21:59:43.10-05:00
- 2001-12-14 21:59:43.10 -5
- 2001-12-15 2:59:43.10
- 2002-12-14
- name: uri
tags: dyaml composer
detect: "tag:example.com,2000:app/tag\U0001F914\n"
tree: |
+STR
+DOC ---
+SEQ
=VAL <tag:example.com,2000:app/tag🤔> :baz
-SEQ
-DOC
-STR
yaml: |
%TAG !e! tag:example.com,2000:app/
---
- !e!tag%F0%9F%A4%94 baz
- name: value
tags: dyaml composer
detect: |
tag:yaml.org,2002:value
tree: |
+STR
+DOC
+SEQ
=VAL :=
-SEQ
-DOC
-STR
yaml: |
- =
|