From f8d43dcfad2349583e8f979e9fd5ca1c2360883a Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 9 Dec 2015 09:49:24 -0500 Subject: [PATCH] Add a Parser module/type. --- semantic-diff.cabal | 1 + src/Parser.hs | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 src/Parser.hs diff --git a/semantic-diff.cabal b/semantic-diff.cabal index 36efa1b65..d9f6007ef 100644 --- a/semantic-diff.cabal +++ b/semantic-diff.cabal @@ -18,6 +18,7 @@ library , Operation , Algorithm , Interpreter + , Parser , Patch , SES , Categorizable diff --git a/src/Parser.hs b/src/Parser.hs new file mode 100644 index 000000000..cfd76cd6e --- /dev/null +++ b/src/Parser.hs @@ -0,0 +1,6 @@ +module Parser where + +import Diff +import Term + +type Parser = String -> IO (Term String Info)