feldspar-compiler-0.6.0.2: Compiler for the Feldspar language

Safe HaskellNone

Feldspar.Compiler.Compiler

Synopsis

Documentation

data SomeCompilable Source

Constructors

forall a internal . Compilable a internal => SomeCompilable a

Instances

type Position = (Int, Int)Source

data SplitModuleDescriptor Source

Constructors

Fields

smdSource :: Module ()
smdHeader :: Module ()

data CompToCCoreResult Source

Constructors

data SplitCompToCCoreResult Source

Constructors

data IncludesNeeded Source

Constructors

moduleSplitter :: Module () -> SplitModuleDescriptor Source

separateAndCompileToCCore :: Compilable t internal => (Module () -> [Module ()]) -> CompilationMode -> t -> IncludesNeeded -> OriginalFunctionSignature -> Options -> [(CompToCCoreResult, Module ())]Source

moduleToCCore :: IncludesNeeded -> Options -> Module () -> CompToCCoreResult Source

compileToCCore :: Compilable t internal => CompilationMode -> t -> Maybe String -> IncludesNeeded -> OriginalFunctionSignature -> Options -> SplitCompToCCoreResult Source

Compiler core This functionality should not be duplicated. Instead, everything should call this and only do a trivial interface adaptation.

genIncludeLinesCore :: [String] -> (String, Int)Source

genIncludeLines :: Options -> Maybe String -> (String, Int)Source

defaultOptions :: Options Source

Predefined options

c99PlatformOptions :: Options Source

tic64xPlatformOptions :: Options Source

unrollOptions :: Options Source

noPrimitiveInstructionHandling :: Options Source

noMemoryInformation :: Options Source

pluginChain :: ExternalInfoCollection -> Module () -> Module ()Source

Plugin system

data ExternalInfoCollection Source

Constructors

executePluginChain' :: Compilable c internal => CompilationMode -> c -> OriginalFunctionSignature -> Options -> Module ()Source

executePluginChain :: Compilable c internal => CompilationMode -> c -> OriginalFunctionSignature -> Options -> SplitModuleDescriptor Source

AltStyle によって変換されたページ (->オリジナル) /