summaryrefslogtreecommitdiff
path: root/ProofGraphMain.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ProofGraphMain.hs')
-rw-r--r--ProofGraphMain.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/ProofGraphMain.hs b/ProofGraphMain.hs
new file mode 100644
index 0000000..91767ad
--- /dev/null
+++ b/ProofGraphMain.hs
@@ -0,0 +1,11 @@
+import System( getArgs )
+import Text.Printf
+import Parse
+import ProofGraph
+
+
+main = do
+ args <- getArgs
+ list <- getLines $ head args
+ let result = doGraphGen (map (stripReturn) list)
+ printf $ (show result) ++ "\n"