idris-1.3.4: Functional Programming Language with Dependent Types
LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellNone
LanguageHaskell2010

IRTS.CodegenCommon

Description

 
Synopsis

Documentation

data DbgLevel #

Constructors

NONE 
DEBUG 
TRACE 

Instances

Instances details
Eq DbgLevel # 
Instance details

Defined in IRTS.CodegenCommon

data OutputType #

Constructors

Raw 
Object 
Executable 

Instances

Instances details
Generic OutputType # 
Instance details

Defined in IRTS.CodegenCommon

Associated Types

type Rep OutputType 
Instance details

Defined in IRTS.CodegenCommon

type Rep OutputType = D1 ('MetaData "OutputType" "IRTS.CodegenCommon" "idris-1.3.4-F4Dxf3f2x1u8YpuOHHvOMF" 'False) (C1 ('MetaCons "Raw" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Object" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Executable" 'PrefixI 'False) (U1 :: Type -> Type)))
Show OutputType # 
Instance details

Defined in IRTS.CodegenCommon

NFData OutputType # 
Instance details

Defined in Idris.DeepSeq

Methods

rnf :: OutputType -> () #

Eq OutputType # 
Instance details

Defined in IRTS.CodegenCommon

type Rep OutputType # 
Instance details

Defined in IRTS.CodegenCommon

type Rep OutputType = D1 ('MetaData "OutputType" "IRTS.CodegenCommon" "idris-1.3.4-F4Dxf3f2x1u8YpuOHHvOMF" 'False) (C1 ('MetaCons "Raw" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Object" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Executable" 'PrefixI 'False) (U1 :: Type -> Type)))

data CodegenInfo #

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.

Instances

Instances details
ToJSON CodegenInfo # 
Instance details

Defined in IRTS.Portable