feldspar-compiler-0.7: Compiler for the Feldspar language

Safe HaskellNone
LanguageHaskell2010

Feldspar.Compiler

Synopsis

Documentation

getCore :: SyntacticFeld t => t -> Module () Source

Get the generated core for a program.

printCore :: SyntacticFeld t => t -> IO () Source

Print the generated core for a program.

data Options Source

Constructors

Options 

Fields

platform :: Platform
 
unroll :: UnrollStrategy
 
debug :: DebugOption
 
memoryInfoVisible :: Bool
 
printHeader :: Bool
 
rules :: [Rule]
 
frontendOpts :: FeldOpts
 
nestSize :: Int

Indentation size for PrettyPrinting

defaultOptions :: Options Source

Predefined options

data FeldOpts :: *

A record with options for explicit passing in rewrite rules.

Constructors

FeldOpts 

Fields

targets :: [Target]
 

data Target :: *

Possible compilation targets.

Constructors

RegionInf 
SICS 

Instances