12 lines
176 B
Haskell
12 lines
176 B
Haskell
|
|
||
|
import ParseTree
|
||
|
import Parser
|
||
|
import AST
|
||
|
|
||
|
import System.Environment
|
||
|
|
||
|
main :: IO ()
|
||
|
main = do
|
||
|
[fin] <- getArgs
|
||
|
toParseTree fin >>= print
|
||
|
runParser contract fin >>= print
|