Module ICurry.Extended.Build

Module for simpler generation of Ninja build files for Extended ICurry

Author: Marc Andre Wittorf

Summary of exported operations:

generateExtendedICurryEdges :: String -> [ModuleDep] -> [Decl]   
Generate build edges to translate ICurry to Extended ICurry
eicyRule :: String -> Decl   
Ninja rule to compile ICurry to Extended ICurry
cToEicy :: String -> [ModuleDep] -> [Decl]   
Rules and Edges to compile Curry modules to Extended ICurry

Exported operations:

generateExtendedICurryEdges :: String -> [ModuleDep] -> [Decl]   

Generate build edges to translate ICurry to Extended ICurry

Example call:
(generateExtendedICurryEdges prefix depd)
Parameters:
  • prefix : the icy and eicy files are here
  • depd : modules with their dependencies
Returns:
(build edge) ninja declarations

eicyRule :: String -> Decl   

Ninja rule to compile ICurry to Extended ICurry

Returns:
the rule declaration
Further infos:
  • solution complete, i.e., able to compute all solutions

cToEicy :: String -> [ModuleDep] -> [Decl]   

Rules and Edges to compile Curry modules to Extended ICurry

Example call:
(cToEicy buildDir dg)
Parameters:
  • buildDir : the path where I- and Extended ICurry files will be stored
  • dg : all modules with their dependencies
Returns:
ninja declarations