1 definition module Data.GenType.CParser
3 from Data.Either import :: Either
4 from Data.GenType import :: Type
7 * Generate a single parser for a type.
8 * This does not terminate for a recursive type
10 flatParser :: Type -> Either String ([String], [String])
13 * generate parsers for the types grouped by strongly connected components
15 parsers :: [[Type]] -> Either String ([String], [String])