Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- deduceVersion :: String -> FortranVersion
- type Parser = ByteString -> String -> Either ParseErrorSimple (ProgramFile A0)
- parserVersions :: [(FortranVersion, Parser)]
- type ParserWithModFiles = ModFiles -> ByteString -> String -> Either ParseErrorSimple (ProgramFile A0)
- parserWithModFilesVersions :: [(FortranVersion, ParserWithModFiles)]
- after :: (b -> c) -> (t -> a -> b) -> t -> a -> c
- fortranParser :: Parser
- fortranParserWithModFiles :: ParserWithModFiles
- fortranParserWithVersion :: FortranVersion -> Parser
- fortranParserWithModFilesAndVersion :: FortranVersion -> ParserWithModFiles
Documentation
deduceVersion :: String -> FortranVersion Source #
type Parser = ByteString -> String -> Either ParseErrorSimple (ProgramFile A0) Source #
parserVersions :: [(FortranVersion, Parser)] Source #
type ParserWithModFiles = ModFiles -> ByteString -> String -> Either ParseErrorSimple (ProgramFile A0) Source #
fortranParser :: Parser Source #
Deduce the type of parser from the filename and parse the contents of the file.
fortranParserWithModFiles :: ParserWithModFiles Source #
Deduce the type of parser from the filename and parse the contents of the file, within the context of given "mod files".
fortranParserWithVersion :: FortranVersion -> Parser Source #
Given a FortranVersion, parse the contents of the file.
fortranParserWithModFilesAndVersion :: FortranVersion -> ParserWithModFiles Source #
Given a FortranVersion, parse the contents of the file, within the context of given "mod files".