aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dml/ast.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dml/ast.ml')
-rw-r--r--lib/dml/ast.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dml/ast.ml b/lib/dml/ast.ml
new file mode 100644
index 0000000..a38873e
--- /dev/null
+++ b/lib/dml/ast.ml
@@ -0,0 +1,8 @@
+open Sexplib.Std
+
+type value = Str of string | Int of int [@@deriving sexp]
+
+type statement =
+ | Define of {target: string; heading: (string * string) list; tuples: (string * value) list list}
+ | Drop of {target: string}
+[@@deriving sexp]