parse algebraic declarations and ordered match clauses

This commit is contained in:
sneeker committed 2020-01-13 12:00:00 +00:00
commit 1f2da0302b
6 files changed
+646

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
.PHONY: all build test bench clean graphs
all: build
build:
./scripts/env cabal v1-build
test: build
./scripts/env cabal v1-test
bench: build
./scripts/env cabal v1-bench
graphs: build
./scripts/env ./dist/build/tessera/tessera compile examples/protocol.tess --function classify -o artifacts/protocol.tree
./scripts/env ./dist/build/tessera/tessera graph artifacts/protocol.tree -o artifacts/protocol-decision-tree.dot
dot -Tsvg artifacts/protocol-decision-tree.dot -o artifacts/protocol-decision-tree.svg
clean:
rm -rf dist artifacts/protocol.tree artifacts/protocol-decision-tree.dot