Safe Haskell | None |
---|---|
Language | Haskell98 |
ABS.Parser
Description
The parse phase as a top-level command to be called by the main compiler module.
Documentation
parseFile :: FilePath -> IO (FilePath, Err Program) Source #
Parse a single ABS source file
it is exception-safe, i.e. catches any file-IO exceptions
parseDir :: FilePath -> IO [(FilePath, Err Program)] Source #
Parse all ABS files under directory and its subdirectories recursively.
it is exception-safe, i.e. ignores any dirs it cannot read (no access or IO error)