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