| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Futhark.IR.Parse
Description
Parser for the Futhark core language.
Synopsis
- parseSOACS :: FilePath -> Text -> Either Text (Prog SOACS)
- parseGPU :: FilePath -> Text -> Either Text (Prog GPU)
- parseGPUMem :: FilePath -> Text -> Either Text (Prog GPUMem)
- parseMC :: FilePath -> Text -> Either Text (Prog MC)
- parseMCMem :: FilePath -> Text -> Either Text (Prog MCMem)
- parseSeq :: FilePath -> Text -> Either Text (Prog Seq)
- parseSeqMem :: FilePath -> Text -> Either Text (Prog SeqMem)
- parseType :: FilePath -> Text -> Either Text Type
- parseDeclExtType :: FilePath -> Text -> Either Text DeclExtType
- parseDeclType :: FilePath -> Text -> Either Text DeclType
- parseVName :: FilePath -> Text -> Either Text VName
- parseSubExp :: FilePath -> Text -> Either Text SubExp
- parseSubExpRes :: FilePath -> Text -> Either Text SubExpRes
- parseBodyGPU :: FilePath -> Text -> Either Text (Body GPU)
- parseBodyMC :: FilePath -> Text -> Either Text (Body MC)
- parseStmGPU :: FilePath -> Text -> Either Text (Stm GPU)
- parseStmMC :: FilePath -> Text -> Either Text (Stm MC)
Programs
parseSOACS :: FilePath -> Text -> Either Text (Prog SOACS) Source #
parseGPUMem :: FilePath -> Text -> Either Text (Prog GPUMem) Source #
parseMCMem :: FilePath -> Text -> Either Text (Prog MCMem) Source #
parseSeqMem :: FilePath -> Text -> Either Text (Prog SeqMem) Source #
Fragments
parseDeclExtType :: FilePath -> Text -> Either Text DeclExtType Source #
parseDeclType :: FilePath -> Text -> Either Text DeclType Source #
parseVName :: FilePath -> Text -> Either Text VName Source #
parseSubExp :: FilePath -> Text -> Either Text SubExp Source #
parseSubExpRes :: FilePath -> Text -> Either Text SubExpRes Source #
parseBodyGPU :: FilePath -> Text -> Either Text (Body GPU) Source #
parseBodyMC :: FilePath -> Text -> Either Text (Body MC) Source #
parseStmGPU :: FilePath -> Text -> Either Text (Stm GPU) Source #
parseStmMC :: FilePath -> Text -> Either Text (Stm MC) Source #