From c8b535079e2c50fa7547dbab5d3b5058f30a7e20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kat=20March=C3=A1n?= <kzm@zkat.tech>
Date: Thu, 8 Apr 2021 17:24:23 -0700
Subject: [PATCH] added basic.ron example

---
 examples/basic.ron | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 examples/basic.ron

diff --git a/examples/basic.ron b/examples/basic.ron
new file mode 100644
index 0000000..2b4addb
--- /dev/null
+++ b/examples/basic.ron
@@ -0,0 +1,21 @@
+(
+    picker: {"FirstToScore": (threshold: 80.0)},
+    choices: [(
+        consider: [{"Bladder": (weight: 3.0)}],
+        then: {"Thinker": (
+            picker: {"FirstToScore": (threshold: 80.0)},
+            choices: [(
+                consider: [{"Bladder": (weight: 3.0)}],
+                then: {"Pee": ()}
+            )]
+        )}
+    ), (
+        consider: [{"Thirst": (weight: 2.0)}],
+        then: {"Drink": ()},
+    ), (
+        consider: [{"Hunger": (weight: 2.0)}],
+        then: {"Eat": ()},
+    )],
+    otherwise: Some({"Meander": ()}),
+)
+
-- 
GitLab