futhark-0.25.32: An optimising compiler for a functional, array-oriented language.

Safe Haskell | None
Language | GHC2021

Futhark.IR.Parse

Contents

- Programs
- Fragments

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 #

parseGPU :: FilePath -> Text -> Either Text (Prog GPU) Source #

parseGPUMem :: FilePath -> Text -> Either Text (Prog GPUMem) Source #

parseMC :: FilePath -> Text -> Either Text (Prog MC) Source #

parseMCMem :: FilePath -> Text -> Either Text (Prog MCMem) Source #

parseSeq :: FilePath -> Text -> Either Text (Prog Seq) Source #

parseSeqMem :: FilePath -> Text -> Either Text (Prog SeqMem) Source #

# Fragments

parseType :: FilePath -> Text -> Either Text Type Source #

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 #