master-plan/app/Main.hs
Rodrigo Setti 228ea3750c parser and identity backend
Wrote a parser and a backend that spits out parseable input
2017-08-05 21:15:47 -07:00

13 lines
344 B
Haskell

{-# LANGUAGE UnicodeSyntax #-}
module Main where
import MasterPlan.Backend.Identity
import MasterPlan.Parser
main IO ()
main = do let filename = "master.plan"
contents <- readFile filename
case runParser filename contents of
Left e -> putStr e
Right v -> putStr $ render v