From: Mart Lubbers Date: Fri, 19 Feb 2016 19:42:30 +0000 (+0100) Subject: final lexer X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=cb70ae497fc6e5d597b2e1fb5dad758ce15e3ba5;p=cc1516.git final lexer --- diff --git a/lex.icl b/lex.icl index 0adb20c..e2d679a 100644 --- a/lex.icl +++ b/lex.icl @@ -1,16 +1,12 @@ implementation module lex import Control.Monad -import Data.Either -import Data.Maybe -import Data.Map -import Data.Func +import Data.Either, Data.Maybe, Data.Map, Data.Func import StdString import StdTuple import StdBool import StdList import StdChar -import qualified Text SingleCharTokens :: Map Char Token SingleCharTokens = fromList [