git @ Cat's Eye Technologies Deturgenchry / d3aa02f
Update to newer Haskell. Add .gitignore and .hgignore. catseye 10 years ago
3 changed file(s) with 13 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 *.o
1 *.hi
2 /bin/*
0 syntax: glob
1
2 *.o
3 *.hi
4 bin/*
00 module Main where
11
2 import System
2 import System.Environment
3 import System.Exit
4
35 import Text.ParserCombinators.Parsec
46
57 import Deturgenchry
1012 case (result) of
1113 Left err -> do
1214 print err
13 -- exitWith $ ExitFailure 1
15 exitWith $ ExitFailure 1
1416 Right prog -> do
1517 interpret prog
16 -- exitWith $ ExitFailure 0
18 exitWith $ ExitFailure 0