add meson support
[protos/libecoli.git] / examples / parse-yaml / test.yaml
diff --git a/examples/parse-yaml/test.yaml b/examples/parse-yaml/test.yaml
new file mode 100644 (file)
index 0000000..5642766
--- /dev/null
@@ -0,0 +1,32 @@
+type: or
+children:
+- type: seq
+  id: hello
+  help: Say hello to someone
+  children:
+  - type: str
+    string: hello
+  - type: or
+    id: name
+    help: Name of the person to greet
+    children:
+    - type: str
+      string: john
+    - type: str
+      string: mike
+- type: seq
+  id: goodbye
+  help: Say good bye to someone
+  children:
+  - type: str
+    string: good
+  - type: str
+    string: bye
+  - type: or
+    id: name
+    help: Name of the person to greet
+    children:
+    - type: str
+      string: mary
+    - type: str
+      string: jessica