X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=3a_asm%2FExpr_eval.hs;h=d31cef7527130a10374843d438ccce2a09c82b45;hb=1968f329b10681b760faec9369aa893cd2af8d44;hp=4924950a8161570bf0f887d1a5f47c0b47661d86;hpb=4f09e9365013bb8169a437c2cc2a28d415bbad93;p=calu.git diff --git a/3a_asm/Expr_eval.hs b/3a_asm/Expr_eval.hs index 4924950..d31cef7 100644 --- a/3a_asm/Expr_eval.hs +++ b/3a_asm/Expr_eval.hs @@ -1,3 +1,24 @@ +{- `Deep Thought', a softcore CPU implemented on a FPGA + + Copyright (C) 2010 Markus Hofstaetter + Copyright (C) 2010 Martin Perner + Copyright (C) 2010 Stefan Rebernig + Copyright (C) 2010 Manfred Schwarz + Copyright (C) 2010 Bernhard Urban + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . -} + module Expr_eval (expr, testExpr) where import DTFormat @@ -10,6 +31,7 @@ import qualified Text.ParserCombinators.Parsec.Token as P import Text.ParserCombinators.Parsec.Language import System.IO import Data.Word +import Data.List import Data.Bits lexer :: P.TokenParser ()