Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0e9f3f5c52
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.502 kb
> module Epic.CodegenStack where
> import Control.Monad.State
> import Epic.Language
> import Epic.Stackcode
> import Debug.Trace
> codegenC :: Context -> [Decl] -> String
> codegenC ctxt decls = error $ concatMap (worker ctxt) decls
> codegenH :: String -> [Decl] -> String
> codegenH = undefined
> writeIFace :: [Decl] -> String
> writeIFace = undefined
> worker :: Context -> Decl -> String
> worker ctxt (Decl name ty fn exp flags) =
> show (name, compile ctxt name fn)
> worker _ _ = ""
Jump to Line
Something went wrong with that request. Please try again.