Hets - the Heterogeneous Tool Set

Copyright(c) Klaus Luettich, C. Maeder, Uni Bremen 2002-2014
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilitynon-portable(Grothendieck)
Safe HaskellNone

Driver.ReadFn

Description

reading and parsing ATerms, CASL, HetCASL files as much as is needed for the static analysis

Synopsis

Documentation

libNameToFile :: LibName -> FilePath

create a file name without suffix from a library name

fileToLibName :: HetcatsOpts -> FilePath -> LibName

convert a file name that may have a suffix to a library name

getContentAndFileType :: HetcatsOpts -> Maybe String -> FilePath -> IO (Either String (Maybe String, Maybe String, FilePath, String))

output file type, checksum, real file name and file content. inputs are hets options, optional argument for the file program, and the library or file name.