structure
[clean-tests.git] / gengen / src / GenType / CParser.dcl
1 definition module GenType.CParser
2
3 from Data.Either import :: Either
4 from GenType import :: Type
5
6 /**
7 * Generate a single parser for a type.
8 * This does not terminate for a recursive type
9 */
10 flatParser :: Type -> Either String ([String], [String])
11
12 /**
13 * generate parsers for the types grouped by strongly connected components
14 */
15 parsers :: [[Type]] -> Either String ([String], [String])