runManchester.hs revision 68e123352da63f918c8ba230b04533de3d796699
import System.Environment
import OWL2.ManchesterParser
import OWL2.Print ()
import OWL2.ManchesterPrint()
import Common.DocUtils
import Common.Parsec
import Text.ParserCombinators.Parsec
processFile :: String -> IO ()
processFile file = do
str <- readFile file
case runParser (basicSpec << eof) () file str of
Right o -> putStrLn $ show o
Left err -> print err
main :: IO ()
main = do
args <- getArgs
mapM_ processFile args