diff --git a/env.hs b/Env.hs similarity index 100% rename from env.hs rename to Env.hs diff --git a/interpreter.hs b/Interpreter.hs similarity index 98% rename from interpreter.hs rename to Interpreter.hs index 5cdea05..245db75 100644 --- a/interpreter.hs +++ b/Interpreter.hs @@ -44,7 +44,6 @@ printOutputAndExit (Left err, _) = do printOutputAndExit (Right output, _) = do putStr $ show output exitSuccess - ls showTree :: (Show a, Print a) => Int -> a -> IO () showTree v tree diff --git a/jsinterpreter.hs b/JSInterpreter.hs similarity index 100% rename from jsinterpreter.hs rename to JSInterpreter.hs diff --git a/Makefile b/Makefile index 8c45a53..f13532e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ all: + cabal update + cabal install mtl happy -gca Parmyjs.y alex -g Lexmyjs.x ghc --make interpreter.hs -o interpreter diff --git a/memory.hs b/Memory.hs similarity index 97% rename from memory.hs rename to Memory.hs index 4239086..aa9605c 100644 --- a/memory.hs +++ b/Memory.hs @@ -1,5 +1,4 @@ {-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE AllowAmbiguousTypes #-} module Memory where diff --git a/sys.hs b/Sys.hs similarity index 100% rename from sys.hs rename to Sys.hs diff --git a/types.hs b/Types.hs similarity index 100% rename from types.hs rename to Types.hs