Feldspar.Compiler.Imperative.Frontend
Documentation
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 ()
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 ()
setLength :: Expression () -> Expression () -> Program ()
increaseLength :: Expression () -> Expression () -> Program ()
copyProg :: Expression () -> Expression () -> Program ()
copyProgPos :: Expression () -> Expression () -> Expression () -> Program ()
copyProgLen :: Expression () -> Expression () -> Expression () -> Program ()