diff --git a/Language/SQL/SimpleSQL/Parser.lhs b/Language/SQL/SimpleSQL/Parser.lhs index db429b9..c554736 100644 --- a/Language/SQL/SimpleSQL/Parser.lhs +++ b/Language/SQL/SimpleSQL/Parser.lhs @@ -59,6 +59,7 @@ > ,pePosition :: (Int,Int) > ,peFormattedError :: String > } deriving (Eq,Show) + > convParseError :: String -> P.ParseError -> ParseError > convParseError src e = > ParseError @@ -70,7 +71,8 @@ > where > p = errorPos e -format the error more nicely: emacs format for positioning, plus context +format the error more nicely: emacs format for positioning, plus +context > formatError :: String -> P.ParseError -> String > formatError src e = diff --git a/TODO b/TODO index 96b32f2..7ff6a01 100644 --- a/TODO +++ b/TODO @@ -2,10 +2,8 @@ first release: -complete the parsing for the tests in the Tests.lhs -case insensivity DONE? -get tpch parsing check the pretty printer on the tpch queries +fix the fixity issue add automated tests to cabal do code documentation and haddock check the order of exports, imports and functions/cases in the files @@ -26,15 +24,13 @@ reimplement the fixity thing natively fix lexing wrt suffixes 1/2 done -position annotation +position annotation? = sql support scalar function syntax: -standard interval literal - review all ansi sql operators placeholder/positional arg @@ -54,9 +50,7 @@ group by (), grouping sets(), cube, rollup lateral named windows table, values -cte apply, pivot -full tableref aliases collate within group aggregate syntax