tcr / corollary

Cross-compiler from Haskell to Rust, plus parser-haskell.
73 stars 5 forks source link

Implement structs #31

Closed tcr closed 7 years ago

tcr commented 7 years ago

This currently outputs an empty comment /* struct dev */ instead of a struct:

data FunctionContext = FunctionContext
    { functionReturnType :: Maybe CType
    , functionName :: Maybe String
    , itemRewrites :: ItemRewrites
    }