fortran-src-0.4.3: Parsers and analyses for Fortran standards 66, 77, 90 and 95.
Safe HaskellNone
LanguageHaskell2010

Language.Fortran.Parser.Any

Description

Note on these parsers

Seperate parsers are provided for different Fortran versions. A few parsers are provided for each version, offering built-in defaults or allowing you to configure them yourself. They can be identified by their suffix:

  • parser: all defaults (without mod files, default transformations)
  • parserWithModFiles: select mod files, default transformations
  • parserWithTransforms: without mod files, select transformations
  • parserWithModFilesWithTransforms: select mod files, select transformations
Synopsis

Documentation

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".