aboutsummaryrefslogtreecommitdiff
path: root/src/parser/Assignment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/Assignment.hs')
-rw-r--r--src/parser/Assignment.hs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/parser/Assignment.hs b/src/parser/Assignment.hs
deleted file mode 100644
index bb782f5..0000000
--- a/src/parser/Assignment.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Parser.Assignment where
-
-import Control.Applicative
-import Parser.Core
-import qualified Parser.Expr as E
-import Assignment
-
-variableP :: Parser Assignment
-variableP = Variable <$> alphaStringP <* char '=' <*> E.exprP
-
-functionP :: Parser Assignment
-functionP = Function <$> alphaStringP <*> parenthesize alphaStringP <* char '=' <*> E.exprP
-
-assignmentP :: Parser Assignment
-assignmentP = variableP <|> functionP