-------------------------------------------------------------------------------- -- $Id: RepToRDF.hs,v 1.1 2004/03/26 12:18:05 graham Exp $ -- -- Copyright (c) 2004, G. KLYNE. All rights reserved. -- See end of this file for licence information. -------------------------------------------------------------------------------- -- | -- Module : RepToRDF -- Copyright : (c) 2004, Graham Klyne -- License : GPL V2 -- -- Maintainer : Graham Klyne -- Stability : provisional -- Portability : H98 -- -- This module is a wrapper for the main program of RepToRDF. -- -------------------------------------------------------------------------------- -- module RepToRDF where module Main where import qualified System import RepToRDFMain ------------------------------------------------------------ -- RepToRDF main program ------------------------------------------------------------ -- -- This is a minimal wrapper for the real main program, to facilitate -- interactive execution (e.g. in HUGS) of different command lines. main :: IO () main = do { args <- System.getArgs ; code <- runRepToRDFArgs args ; if code == System.ExitSuccess then return () else if code == (System.ExitFailure 1) then putStrLn $ "RepToRDF: graphs compare different" else putStrLn $ "RepToRDF: "++show code ; System.exitWith code } -------------------------------------------------------------------------------- -- -- Copyright (c) 2004, G. KLYNE. All rights reserved. -- -- This is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This software is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with RepToRDF; if not, write to: -- The Free Software Foundation, Inc., -- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -- or view the web page at: -- http://www.gnu.org/copyleft/gpl.html -- -------------------------------------------------------------------------------- -- $Source: /file/cvsdev/CompileRDF/RepToRDF.hs,v $ -- $Author: graham $ -- $Revision: 1.1 $ -- $Log: RepToRDF.hs,v $ -- Revision 1.1 2004/03/26 12:18:05 graham -- Created report description compiler --