From 03d38eb3190eb5e51fb18847fe0792013285bde5 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 8 Apr 2014 15:06:40 +1000 Subject: Reorganising source code --- src/WriteProofMain.hs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/WriteProofMain.hs (limited to 'src/WriteProofMain.hs') diff --git a/src/WriteProofMain.hs b/src/WriteProofMain.hs new file mode 100644 index 0000000..2f8625e --- /dev/null +++ b/src/WriteProofMain.hs @@ -0,0 +1,15 @@ +import System.Environment( getArgs ) +import Text.Printf +import Library.Parse +import Library.ProofGraph +import Library.WriteProof + + + +main = do + args <- getArgs + list <- getLines (head args) + let graph = doGraphGen (map (stripReturn) list) + trace = doWriteProof graph + output trace + -- cgit