This module parses a list of Token according to the supported SQL grammar. It internally makes use of the SQL Parser Monad defined in the SQLParserTypes module. The result is an abstract syntax tree or - in case of errors - the list of error messages wrapped in the ParseMonad (PM) which is part of curryPP. An error recovery approach is realized.
parseTkLs
:: Pos -> [Token] -> WM (PR [Statement])
Organizes the wrapping with respect to the internally used Parser Monad. |