Browse files

Updated for GHC 7.2 (thanks to Sebastian Fischer)

  • Loading branch information...
1 parent a39976a commit 9b56d0a29c64e78d99e108d61dfb16c229d6ae53 Edwin Brady committed Aug 17, 2011
Showing with 14 additions and 13 deletions.
  1. +1 −1 Epic/Bytecode.lhs
  2. +3 −2 Epic/Compiler.lhs
  3. +0 −1 Epic/Language.lhs
  4. +1 −1 Epic/Lexer.lhs
  5. +1 −1 Epic/Parser.y
  6. +2 −2 Main.lhs
  7. +2 −1 Setup.hs
  8. +4 −4 epic.cabal
View
2 Epic/Bytecode.lhs
@@ -1,7 +1,7 @@
> module Epic.Bytecode where
> import Control.Monad.State
-> import List
+> import Data.List
> import Epic.Language
> import Debug.Trace
View
5 Epic/Compiler.lhs
@@ -17,11 +17,12 @@
Brings everything together; parsing, checking, code generation
-> import System
+> import System.Process
+> import System.Exit
> import System.IO
> import System.Directory
> import System.Environment
-> import Char
+> import Data.Char
> import Epic.Language
> import Epic.Parser
View
1 Epic/Language.lhs
@@ -4,7 +4,6 @@
> module Epic.Language where
> import Control.Monad
-> import System
> import System.IO
> import System.Directory
> import System.Environment
View
2 Epic/Lexer.lhs
@@ -1,6 +1,6 @@
> module Epic.Lexer where
-> import Char
+> import Data.Char
> import Epic.Language
View
2 Epic/Parser.y
@@ -2,7 +2,7 @@
module Epic.Parser where
-import Char
+import Data.Char
import System.IO.Unsafe
import Epic.Language
View
4 Main.lhs
@@ -1,11 +1,11 @@
> module Main where
-> import System
+> import System.Exit
> import System.Directory
> import System.Environment
> import System.IO
> import Distribution.Version
-> import Monad
+> import Control.Monad
> import Epic.Compiler
> import Paths_epic
View
3 Setup.hs
@@ -3,7 +3,8 @@ import Distribution.Simple.InstallDirs
import Distribution.Simple.LocalBuildInfo
import Distribution.PackageDescription
-import System
+import System.Exit
+import System.Process
-- After Epic is built, we need a run time system.
View
8 epic.cabal
@@ -28,14 +28,14 @@ Library
Epic.Language Epic.Lexer Epic.CodegenC Epic.CodegenStack
Epic.OTTLang Epic.Simplify Epic.Stackcode
Epic.Evaluator Paths_epic
- Build-depends: base >=4 && <5 , haskell98, mtl, Cabal, array, directory
-
+ Build-depends: base >=4 && <5 , haskell98, mtl, Cabal, array, directory, process
+ Extensions: BangPatterns
Executable epic
Main-is: Main.lhs
Other-modules: Epic.Bytecode Epic.Parser Epic.Scopecheck
Epic.Language Epic.Lexer Epic.CodegenC Epic.CodegenStack
Epic.OTTLang Epic.Simplify Epic.Stackcode
Epic.Evaluator Paths_epic
- Build-depends: base >=4 && <5, mtl, array, haskell98, Cabal, directory
-
+ Build-depends: base >=4 && <5, mtl, array, haskell98, Cabal, directory, process
+ Extensions: BangPatterns

0 comments on commit 9b56d0a

Please sign in to comment.