Skip to content

Instantly share code, notes, and snippets.

@perlpunk
Last active June 25, 2018 20:12
Show Gist options
  • Save perlpunk/74c8fd873278102b68632125ff1fd034 to your computer and use it in GitHub Desktop.
Save perlpunk/74c8fd873278102b68632125ff1fd034 to your computer and use it in GitHub Desktop.
yaml-flow-colon-2
+STR
+DOC
+SEQ
+SEQ []
+MAP {}
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
- [ foo::: bar ]
+STR
+DOC
+SEQ
+SEQ []
+MAP {}
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
Parse error: found unexpected ':'
+STR
+DOC
+SEQ
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
+STR
+DOC
+SEQ
+SEQ
+MAP
=VAL :foo::
=VAL :bar
-MAP
-SEQ
-SEQ
-DOC
-STR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment