first release

This commit is contained in:
atagen 2024-11-23 16:49:05 +11:00
commit 3393f1ecfe
16 changed files with 615 additions and 0 deletions

0
bin/.ocamlformat Normal file
View file

4
bin/dune Normal file
View file

@ -0,0 +1,4 @@
(executable
(public_name meat)
(name main)
(libraries meat))

16
bin/main.ml Normal file
View file

@ -0,0 +1,16 @@
open Meat
let () =
print_int (Array.length Sys.argv);
if Array.length Sys.argv >= 2 then (
print_endline " args. contents:";
Array.iter print_endline Sys.argv;
match String.lowercase_ascii (Array.get Sys.argv 1) with
| "yum" -> yum ()
| "cook" -> cook ()
| "poke" -> poke ()
| "gut" -> gut ()
| "look" -> look ()
| "fresh" -> fresh ()
| _ -> help ()
) else help ();