Update to newer Haskell. Add .gitignore and .hgignore.
catseye
10 years ago
0 | 0 | module Main where |
1 | 1 | |
2 | import System | |
2 | import System.Environment | |
3 | import System.Exit | |
4 | ||
3 | 5 | import Text.ParserCombinators.Parsec |
4 | 6 | |
5 | 7 | import Deturgenchry |
10 | 12 | case (result) of |
11 | 13 | Left err -> do |
12 | 14 | print err |
13 | -- exitWith $ ExitFailure 1 | |
15 | exitWith $ ExitFailure 1 | |
14 | 16 | Right prog -> do |
15 | 17 | interpret prog |
16 | -- exitWith $ ExitFailure 0 | |
18 | exitWith $ ExitFailure 0 |