ganeti

Safe HaskellSafe-Infered

Ganeti.Hs2Py.GenOpCodes

Description

GenOpCodes handles Python opcode generation.

GenOpCodes contains the helper functions that generate the Python opcodes as strings from the Haskell opcode description.

Synopsis

Documentation

pyClassDoc :: String -> StringSource

pyClassField :: String -> String -> Maybe PyValueEx -> String -> StringSource

intercalateIndent :: [String] -> StringSource

showPyClasses :: StringSource

Generates all opcodes as Python classes.