feldspar-compiler-0.4.0.2: Compiler for the Feldspar language

Feldspar.Compiler.Imperative.Frontend

# Documentation

emptyPrg :: Program ()

genCopy :: Expression () -> Expression () -> Program ()

createLoopVariable :: String -> Variable ()

createVariable :: String -> Type -> Variable ()

createVariableLeftValue :: String -> Type -> Expression ()

createProgramSequence :: [Program ()] -> Program ()

createDeclaration :: String -> Type -> Declaration ()

programToBlock :: Program () -> Block ()

intConstExpr :: Integer -> Expression ()

intConstExprConv :: Int -> Expression ()

intConst :: Integer -> Constant ()

intConstConv :: Int -> Constant ()

functionCall :: String -> Type -> [Expression ()] -> Expression ()

arrayElem :: Expression () -> Expression () -> Expression ()

blockProgram :: Block () -> Program ()

declaration :: Variable () -> Maybe (Expression ()) -> Declaration ()

varExpr :: Variable () -> Expression ()

varActualParam :: Variable () -> (Expression () -> () -> ActualParameter ()) -> ActualParameter ()

block :: [Declaration ()] -> [Program ()] -> Block ()

variable :: String -> Type -> Variable ()

copy :: String

setLength :: Expression () -> Expression () -> Program ()

increaseLength :: Expression () -> Expression () -> Program ()

copyProg :: Expression () -> Expression () -> Program ()

copyProgPos :: Expression () -> Expression () -> Expression () -> Program ()

copyProgLen :: Expression () -> Expression () -> Expression () -> Program ()