This module implements the Interface for the CurryPP Translator. To provide the tranformation of SQL-statements it calls in this order: Scanner Parser Consistency check Type check Translator (to functions of CDBI interface) Reads the .info file which contains information about the data model and passes the information to the corresponding subroutines. Aborts compilation process in case a stage returns with an error.
Author: Julia Krone
parseSQL
:: Bool -> Either String ParserInfo -> Pos -> String -> IO (PM String)
Converts a string representing SQL-requests into functions defined in the CDBI interface by calling the different stage of transformation. |
readParserInfo
:: Int -> String -> IO (Either String ParserInfo)
Reader for parser information file. |
Converts a string representing SQL-requests into functions defined in the CDBI interface by calling the different stage of transformation.
|
Reader for parser information file.
|