feldspar-compiler-0.7: Compiler for the Feldspar language

Safe HaskellNone
LanguageHaskell2010

Feldspar.Compiler.Imperative.Representation

Synopsis

Documentation

data Module t Source

Constructors

Module 

Fields

entities :: [Entity t]
 

data Block t Source

Constructors

Block 

Fields

locals :: [Declaration t]
 
blockBody :: Program t
 

data Variable t Source

Constructors

Variable 

Fields

varType :: Type
 
varName :: String
 

data Size Source

Constructors

S8 
S16 
S32 
S40 
S64 

Instances

class HasType a where Source

Associated Types

type TypeOf a Source

Methods

typeof :: a -> TypeOf a Source

reprError :: forall a. ErrorClass -> String -> a Source

fv :: Expression t -> [Variable t] Source

Free variables of an expression.