Copyright | (c) 2011 Björn Peemöller 2017 Finn Teegen 2018 Kai-Oliver Prott |
---|---|
License | BSD-3-clause |
Maintainer | fte@informatik.uni-kiel.de |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module subsumes the different code generators.
Synopsis
- genTypedAbstractCurry :: CompilerEnv -> Module PredType -> CurryProg
- genUntypedAbstractCurry :: CompilerEnv -> Module PredType -> CurryProg
- genTypedFlatCurry :: CompilerEnv -> Module Type -> Module -> TProg
- genTypeAnnotatedFlatCurry :: CompilerEnv -> Module Type -> Module -> AProg TypeExpr
- genFlatCurry :: TProg -> Prog
- genFlatInterface :: Prog -> Prog
Documentation
genTypedAbstractCurry :: CompilerEnv -> Module PredType -> CurryProg Source #
Generate typed AbstractCurry
genUntypedAbstractCurry :: CompilerEnv -> Module PredType -> CurryProg Source #
Generate untyped AbstractCurry
genTypedFlatCurry :: CompilerEnv -> Module Type -> Module -> TProg Source #
Generate typed FlatCurry
genTypeAnnotatedFlatCurry :: CompilerEnv -> Module Type -> Module -> AProg TypeExpr Source #
Generate type-annotated FlatCurry
genFlatCurry :: TProg -> Prog Source #
Generate FlatCurry
genFlatInterface :: Prog -> Prog Source #
Generate a FlatCurry interface