examples: add some sample documents to parse against
This commit is contained in:
parent
1d65b072ee
commit
5037f69fbe
1
examples/data/deep-flow.nice
Normal file
1
examples/data/deep-flow.nice
Normal file
File diff suppressed because one or more lines are too long
1
examples/data/flow.nice
Normal file
1
examples/data/flow.nice
Normal file
@ -0,0 +1 @@
|
||||
[flow, {test: [nest], foo: bar}]
|
53
examples/data/gamut.nice
Normal file
53
examples/data/gamut.nice
Normal file
@ -0,0 +1,53 @@
|
||||
# this is a comment
|
||||
key: {my: flow, is: [totally, unstoppable , [], [ ], [{don't: you know}], { }, {:,a:}]}
|
||||
bar:
|
||||
key2:
|
||||
- electric
|
||||
- boogaloo
|
||||
# comment
|
||||
# commentary
|
||||
keyzo: > fake string
|
||||
beezo:
|
||||
> this string
|
||||
# with a comment
|
||||
| goes on
|
||||
# and another comment
|
||||
> and on
|
||||
> forever
|
||||
qux2: {my: flow, is: unstoppable}
|
||||
qux3: [my, flow, is, unstoppable]
|
||||
qux4: > {my: flow, is: unstoppable}
|
||||
qux5: | {my: flow, is: unstoppable}
|
||||
quux:
|
||||
[one, two, three]
|
||||
foo:
|
||||
-
|
||||
-
|
||||
>
|
||||
| start with newline
|
||||
-
|
||||
|
|
||||
> start with space
|
||||
-
|
||||
> end with newline
|
||||
|
|
||||
-
|
||||
| end with space
|
||||
>
|
||||
-
|
||||
bar:
|
||||
-
|
||||
> this string
|
||||
# comment
|
||||
| goes on
|
||||
| and on
|
||||
> forever
|
||||
| testing |
|
||||
> tasting |
|
||||
> over
|
||||
|
|
||||
baz: 1
|
||||
|
||||
# here is a treatise on why this is a comment that follows everything else and has
|
||||
# nothing following it: it seemed like a good idea at the time, so I went ahead and
|
||||
# wrote it out and, well, here we are.
|
1
examples/data/list-flow.nice
Normal file
1
examples/data/list-flow.nice
Normal file
@ -0,0 +1 @@
|
||||
[1, 2, 3, four]
|
4
examples/data/list.nice
Normal file
4
examples/data/list.nice
Normal file
@ -0,0 +1,4 @@
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- four
|
1
examples/data/map-flow.nice
Normal file
1
examples/data/map-flow.nice
Normal file
@ -0,0 +1 @@
|
||||
{1: 2, three: four}
|
2
examples/data/map.nice
Normal file
2
examples/data/map.nice
Normal file
@ -0,0 +1,2 @@
|
||||
1: 2
|
||||
three: four
|
1
examples/data/scalar.nice
Normal file
1
examples/data/scalar.nice
Normal file
@ -0,0 +1 @@
|
||||
this is a scalar
|
4
examples/data/string-multi.nice
Normal file
4
examples/data/string-multi.nice
Normal file
@ -0,0 +1,4 @@
|
||||
> this is a string
|
||||
> but it does consist of multiple lines
|
||||
> so it's somewhat nontrivial
|
||||
>
|
1
examples/data/string.nice
Normal file
1
examples/data/string.nice
Normal file
@ -0,0 +1 @@
|
||||
> this is a single string
|
Loading…
x
Reference in New Issue
Block a user