aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/doc.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/model/doc.go b/model/doc.go
new file mode 100644
index 0000000..76f03e4
--- /dev/null
+++ b/model/doc.go
@@ -0,0 +1,18 @@
+package model
+
+type Doc []any
+
+type Assignment struct {
+ Key string
+ Value []Value
+}
+
+type Command struct {
+ Name string
+ Arguments []Value
+ Body Doc
+}
+
+type Value any
+
+type Word string