Copyright | (c) The University of Glasgow 2001 |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Jeffrey Young <jeffrey.young@iohk.io> Luite Stegeman <luite.stegeman@iohk.io> Sylvain Henry <sylvain.henry@iohk.io> Josh Meredith <josh.meredith@iohk.io> |
Stability | experimental Code generation of Expressions |
Safe Haskell | None |
Language | GHC2021 |
Synopsis
- genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStgStat, ExprResult)
- genEntryType :: HasDebugCallStack => [Id] -> G CIType
- loadLiveFun :: [Id] -> G JStgStat
- genStaticRefsRhs :: CgStgRhs -> G CIStatic
- genStaticRefs :: LiveVars -> G CIStatic
- genBody :: HasDebugCallStack => ExprCtx -> StgReg -> [Id] -> CgStgExpr -> Type -> G JStgStat
Documentation
genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStgStat, ExprResult) Source #
Evaluate an expression in the given expression context (continuation)
genEntryType :: HasDebugCallStack => [Id] -> G CIType Source #