summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-02-07 03:57:38 +1100
committerJed Barber <jjbarber@y7mail.com>2014-02-07 03:57:38 +1100
commit29ec75e72f7b0c71442d9cd22d387ad0726bdd04 (patch)
treea25b30d76bdf4ae7d05248d1ea4ba01c5122768d
parentad324af3fa36961bf04361056fee6c2aff81a0a5 (diff)
Moved Thue parser into its own module
-rw-r--r--Thue/Parser.hs (renamed from thue.hs)9
1 files changed, 8 insertions, 1 deletions
diff --git a/thue.hs b/Thue/Parser.hs
index b76056e..dd40e23 100644
--- a/thue.hs
+++ b/Thue/Parser.hs
@@ -1,5 +1,12 @@
+module Parser (
+ ThueProgram(..),
+ Rule(..),
+ State,
-import Text.Combinators.Parsec
+ parseThue
+ ) where
+
+import Text.ParserCombinators.Parsec