diff options
author | Malte Voos <git@mal.tc> | 2024-02-11 18:21:52 +0100 |
---|---|---|
committer | Malte Voos <git@mal.tc> | 2024-02-11 18:21:52 +0100 |
commit | 2bc6cae2458ba5f9573985791536618a00cbed8a (patch) | |
tree | 79fe6de0db9a262705a8dd3898ed739717829e5c /lib | |
download | toytt-2bc6cae2458ba5f9573985791536618a00cbed8a.tar.gz toytt-2bc6cae2458ba5f9573985791536618a00cbed8a.zip |
init
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Ast.ml | 8 | ||||
-rw-r--r-- | lib/dune | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/Ast.ml b/lib/Ast.ml new file mode 100644 index 0000000..4ca7899 --- /dev/null +++ b/lib/Ast.ml @@ -0,0 +1,8 @@ +type expr' = + | Var of string +| Bool +| True +| False +| BoolElim of string + +type expr = expr' Asai.Range.located \ No newline at end of file diff --git a/lib/dune b/lib/dune new file mode 100644 index 0000000..a844074 --- /dev/null +++ b/lib/dune @@ -0,0 +1,9 @@ +(menhir + (flags --explain) + (modules Parser)) + +; (ocamllex Lexer) + +(library + (name toytt) + (libraries asai)) |