feldspar-compiler-0.6.0.2: Compiler for the Feldspar language

Safe HaskellNone

Feldspar.Compiler.Imperative.Frontend

Contents

Synopsis

Frontend data types

data Mod

Constructors

Mod [Ent] 

Instances

data Ent

Instances

data Block

Constructors

Bl [Def] Prog 

data Def

Constructors

Init Type String Expr 
Def Type String 

class Named a where

Methods

getName :: a -> String

Instances

Conversion between representation and frontend

spawn :: String -> [Var] -> Prog

run :: String -> [Var] -> Prog

litB :: Bool -> Expr

vType :: Var -> Type