From: pimjager Date: Fri, 26 Feb 2016 12:34:33 +0000 (+0100) Subject: Yard, still struggling with Clean build system X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=87fe087ef7e1ad9deff8a725faf1ebbefcb7e549;p=cc1516.git Yard, still struggling with Clean build system --- diff --git a/parse.dcl b/parse.dcl index c7d177c..a3640fa 100644 --- a/parse.dcl +++ b/parse.dcl @@ -4,5 +4,6 @@ import lex :: ParserOutput :== Either String AST :: AST = If | While //stub +:: Error = ParseException parse :: LexerOutput -> ParserOutput diff --git a/parse.icl b/parse.icl index 3344e27..1a7fb85 100644 --- a/parse.icl +++ b/parse.icl @@ -1,9 +1,10 @@ implementation module parse import StdString +import yard import lex parse :: LexerOutput -> ParserOutput parse (Left e) = Left ("Lexer error: " +++ e) -parse (Right r) = Left "Parser not yet implemented" +parse (Right r) = Left "Parser not yet implemented" \ No newline at end of file