clafer-0.3.7: clafer compiles Clafer models to other formats, such as Alloy, XML, HTML, Dot.

Safe HaskellNone

Language.Clafer.Generator.Python

Description

Generates Python representation of IR for the ClaferZ3.

Synopsis

Documentation

tag :: String -> String -> StringSource

tagType :: String -> String -> String -> StringSource

genPythonInteger :: Integer -> StringSource

isNull :: String -> StringSource

boolHelper :: String -> StringSource

genPythonBoolean :: String -> Bool -> StringSource

genPythonString :: String -> StringSource

genPythonIntPair :: (Integer, Integer) -> StringSource

genPythonModule :: IModule -> ResultSource

Generate an API for the IR in Python

genPythonAbstract :: Bool -> StringSource

genPythonInterval :: (Integer, Integer) -> StringSource

genPythonId :: String -> StringSource

genPythonUid :: String -> StringSource

genPythonCard :: (Integer, Integer) -> StringSource

genPythonGlCard :: (Integer, Integer) -> StringSource

genPythonPExp :: String -> PExp -> StringSource

declHelper :: [IDecl] -> StringSource