Skip to content

Commit

Permalink
cabal build
Browse files Browse the repository at this point in the history
  • Loading branch information
KMahoney committed Jul 23, 2009
1 parent feed9de commit 4a7bf52
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dochi/REPL.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ interactive opts st = do
debugAST opts ast
r <- try $ runLine opts st ast
case r of
Left err -> do putStrLn $ show (err :: IOException)
Left err -> do putStrLn $ show (err :: Exception)
newline
interactive opts st
Right st' -> interactive opts st'
Expand Down
11 changes: 0 additions & 11 deletions Makefile

This file was deleted.

2 changes: 2 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
24 changes: 24 additions & 0 deletions dochi.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Name: dochi
Version: 0.0.1
Description: Concatenative Language
License: GPL
License-file: LICENSE
Author: Kevin Mahoney
Maintainer: [email protected]
Build-Type: Simple
Cabal-Version: >=1.2

library
Build-Depends: base, haskell98, mtl, containers, parsec, editline
GHC-Options: -fglasgow-exts
Exposed-Modules:
Dochi.Interpreter
Dochi.Util
Dochi.Core
Dochi.IMC
Dochi.Parse
Dochi.REPL
Dochi.Compile

executable dochi
Main-is: Main.hs

0 comments on commit 4a7bf52

Please sign in to comment.