1
Fork 0
simple-sql-parser/tools/ShowErrors.lhs
Jake Wheat 488310ff6a add some big improvements to parse error messages
change the parser to not attempt to parse the elements following
'from' unless there is a actual 'from'
improve the symbol parser to try to deal with issues when symbols are
  next to eachother with no intervening whitespaces
improve number literal parsing to fail if there are trailing letters
  or digits which aren't part of the number and aren't separated with
  whitespace
add some code to start analysing the quality of parse error messages
2014-04-17 18:32:41 +03:00

8 lines
127 B
Plaintext

> import Language.SQL.SimpleSQL.ErrorMessages
> main :: IO ()
> main = putStrLn $ pExprs valueExpressions queryExpressions