Add code for lecture 1 (simple.ml)

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 20:41:07 -08:00
parent cfe502c598
commit 8437a82fbf
11 changed files with 392 additions and 0 deletions

23
lec01/simple/Makefile Normal file
View file

@ -0,0 +1,23 @@
.PHONY: all oatc test clean zip
all: oatc
dev:
dune build --watch --terminal-persistence=clear-on-rebuild
oatc:
dune build
@cp bin/simple.exe oatc
test: oatc
./oatc --test
utop:
dune utop
zip: $(SUBMIT)
zip '$(ZIPNAME)' $(SUBMIT)
clean:
dune clean
rm -rf oatc bin/main.exe