idris-1.3.1: Functional Programming Language with Dependent Types

LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellNone
LanguageHaskell2010

IRTS.CodegenCommon

Description

 
Synopsis

Documentation

data DbgLevel Source #

Constructors

NONE 
DEBUG 
TRACE 
Instances
Eq DbgLevel Source # 
Instance details

Defined in IRTS.CodegenCommon

data OutputType Source #

Constructors

Raw 
Object 
Executable 
Instances
Eq OutputType Source # 
Instance details

Defined in IRTS.CodegenCommon

Show OutputType Source # 
Instance details

Defined in IRTS.CodegenCommon

Generic OutputType Source # 
Instance details

Defined in IRTS.CodegenCommon

Associated Types

type Rep OutputType :: * -> * #

NFData OutputType # 
Instance details

Defined in Idris.DeepSeq

Methods

rnf :: OutputType -> () #

type Rep OutputType Source # 
Instance details

Defined in IRTS.CodegenCommon

type Rep OutputType = D1 (MetaData "OutputType" "IRTS.CodegenCommon" "idris-1.3.1-HMhXn3ahTlmAYa6dTdYaVB" False) (C1 (MetaCons "Raw" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Object" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Executable" PrefixI False) (U1 :: * -> *)))

data CodegenInfo Source #

Everything which might be needed in a code generator.

A CG can choose which level of Decls to generate code from (simplified, defunctionalised or merely lambda lifted) and has access to the list of object files, libraries, etc.